CustomGraphicsEntity.color Property
Parent Object: CustomGraphicsEntityDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsEntity.h>
Description
Gets and sets the current color definition for this entity. The color of custom graphics can be defined in many ways; solid color, simple material, and appearance.
Syntax
"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.
|
Property Value
This is a read/write property whose value is a CustomGraphicsColorEffect.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. |