c4d.MatAssignData
¶
Material assignment data type (
CUSTOMDATATYPE_MATASSIGN
) for the
MatAssignCustomGui
GUI.
c4d.
MatAssignData
¶
c4d.CustomDataType
MatAssignData.
__init__
(
[
v
]
)
¶
Parameters: | v ( c4d.MatAssignData ) – Copy constructor. |
---|---|
Return type: | c4d.MatAssignData |
Returns: |
The new
MatAssignData
.
|
MatAssignData.
InsertObject
(
pObject
,
lFlags
)
¶
Inserts an object into the list.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True if successful, otherwise False |
MatAssignData.
DeleteObject
(
lIndex
)
¶
Deletes an object from the list.
Parameters: |
lIndex
(
int
) – Object index. (0 <=
lIndex
<
GetObjectCount()
)
|
---|---|
Return type: | int |
Returns: | True if the object was deleted, otherwise False |
MatAssignData.
ObjectFromIndex
(
doc
,
lIndex
)
¶
Gets an object by index.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The object or None . |
MatAssignData.
GetObjectCount
(
)
¶
Gets the object count.
Return type: | int |
---|---|
Returns: | Number of objects in the list. |