This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.InExcludeData – a InExcludeData class

A datatype which contains information about in-exclude-lists. This type is called by value.

class c4d.InExcludeData

Methods

InExcludeData.__init__([v])
Parameter:v (InExcludeData) – Copy constructor.
Return type:InExcludeData
Returns:The new inexclude data.
InExcludeData.InsertObject(pObject, lFlags)

Inserts an object.

Parameters:
  • pObject (BaseList2D) – Object to add to the list.
  • lFlags (int) – A bit field for the initial selection state of pObject.
Return type:

bool

Returns:

True if successful, otherwise False.

InExcludeData.ObjectFromIndex(doc, index)

Gets an object in the list by index.

Parameters:
  • doc (BaseDocument) – The document to evaluate the links in.
  • index (int) – Object index.
Return type:

BaseList2D

Returns:

The found object, or None.

InExcludeData.GetObjectCount()

Gets the object count.

Return type:int
Returns:The count.
InExcludeData.DeleteObject(index)

Gets the knot count.

Parameter:index (int) – Object index.
Return type:bool
Returns:True if successful, otherwise False.
InExcludeData.GetFlags(f)

Gets the flags for the object at f.

Parameter:f (int) – Object index.
Return type:int
Returns:A bit field for the selection state of the object.

Table Of Contents

This Page