Color
|
String |
You can get and set the color of a
Generative Shape Design
feature. The Color attribute is defined as a character string. The
color can be specified either by its full name, its hexadecimal
value or its RGB value. You can find below the hexadecimal and RGB
values of the main colors:
Color Names | Hexadecimal Values
| RGB Values
|
---|
black
| #000000;
| 0;0;0
| green | #00FF00 ;
| 0;255;0
| gray | #BEBEBE ;
| 190;190;190
| white | #FFFFFF;
| 255;255;255
| brown | #A52A2A ;
| 165;42;42
| red | #FF0000;
| 255;0;0
| purple | #A020F0 ;
| 160;32;240
| navy blue | #000080;
| 0;0;128
| blue | #0000FF;
| 0;0;255
| magenta | #FF00FF;
| 255;0;255
| lime green | #00FF00;
| 50;205;50
| olive | #808000;
| 32CD32
| yellow | #FFFF00;
| 255;255;0
|
|
IsColorInherited
|
Boolean |
Lets you determine if the color is defined on a given object or if
the color is inherited.
|
IsTransparencyInherited | Boolean | Lets you determine if the color is defined on a given object or if
the color is inherited.
|
Layer | Integer | You can get/set the layer associated with a feature. This attribute
cannot be used in Drafting
app. You can find here two examples.
Expert Rule 1: (for all)
G:GSMCurve
if G.Show == False
then G.Show = True
Expert Rule 2: (for all)
P:GSMPoint
P.Color = blue
P.Show = False
Message (Curve pick is set to #, G.Pick)
P.Layer = 1
Message (Point layer is set to #, P.Layer)
|
Pick | Boolean | You can set the "Pickable" status of a feature so that it can or
cannot be selected in the work area. The Pick attribute must be set
by a Boolean.
|
Show | Boolean | Used to indicate if a parameter must be hidden or shown in the
tree
. This attribute is Read/Write and cannot be used in Drafting
app.
|
Transparency | Integer | You can edit the transparency of EKL types that derive from the Visualizable type like a GeometricFeature. This attribute is used to set the transparency. It varies from 0 (no transparency), the default value, to 255 (full transparency). |