CustomGraphicsEntity.transform Property
Parent Object: CustomGraphicsEntityDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsEntity.h>
Description
Gets and sets the transform associated with the graphics entity. When a new graphics entity is created its default transform is an identity matrix which results in the graphics entity being displayed in model space using the original coordinate data used to define the entity.
Syntax
"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.
|
Property Value
This is a read/write property whose value is a Matrix3D.Samples
Name | Description |
Custom Graphics Sample | A sample demonstrating how to create custom graphics entities. To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is. |