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
This is an abstract baseclass.
BaseObject
SplineObject PolygonObject
Return the hidden points.
| Return type: | BaseSelect |
|---|---|
| Returns: | The hidden points. |
Return the selected points.
| Return type: | BaseSelect |
|---|---|
| Returns: | The selected points. |
Return all point positions.
| Return type: | list of Vector |
|---|---|
| Returns: | The list of positions. |
Set the position of a point.
Note
Call obj.Message(c4d.MSG_UPDATE) after you set all your points to update the object.
| Parameters: |
|
|---|---|
| Raises IndexError: | |
Raise if point index is out of range. |
|
Return the count of points.
| Return type: | int |
|---|---|
| Returns: | The count of points. |
Get an array of vertex weights.
| Parameter: | modifier (BaseObject) – The modifier object. |
|---|---|
| Return type: | list of floats |
| Returns: | The list of weights or None if failed. |
Changes the number of points in the point object.
| Parameter: | pcnt (int) – The new number of points. |
|---|---|
| Return type: | bool |
| Returns: | Success of changing the number of points. |