THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/04/2011 at 13:29, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
---------
Sorry for this stupid question. But I don't understand what what the SDK is trying to tell me.
I'm trying to get access to the filters located under the selection->Selection filters menu. And I'm stuck on what the SDK shows as "docdata".
BaseObject *obj = doc->GetFirstObject();
LONG filter = docdata.GetLong(SELECTIONFILTERBIT_POLYGON); //<--Where does docdata come from?
if (CheckDisplayFilter(obj, filter))
{
GePrint("true"); // prints true if the polygon filter option is enabled
}
I assume that "docdata" is some class that was instantiated using that name.
But what class is this referring to?
-ScottA