GET GEO ATTR COLOR: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Geometry:Editing_Geometry|'''Back''']] | |||
{{Command|syntax=GET_ATTR_COLOR <geo ref>, <red>, <green>, <blue> | {{Command|syntax=GET_ATTR_COLOR <geo ref>, <red>, <green>, <blue> | ||
|description=Get the user color attribute associated with a geometry feature. | |description=Get the user color attribute associated with a geometry feature. |
Revision as of 21:52, 30 July 2010
Command
- GET_ATTR_COLOR <geo ref>, <red>, <green>, <blue>
Get the user color attribute associated with a geometry feature.
Parameters
- <geo ref>
- The reference number of the geometry feature.
- <red>
- The name of a numeric variable to set to the red component of a color.
- This will be a number between 0 and 255
- <green>
- The name of a numeric variable to set to the green component of a color.
- This will be a number between 0 and 255
- <blue>
- The name of a numeric variable to set to the blue component of a color.
- This will be a number between 0 and 255
Example
- GET_GET_ATTR_COLOR 21, RedVal, BlueVal, GreenVal