Difference between revisions of "GET GEO USER COLOR"
From Macros Wiki
(Created page with "{{Up}} {{Command|syntax=GET_GEO_USER_COLOR <geo ref> <red> <green> <blue> |description=Get the user color of a face |param1=<solid>|param1_desc=Solid ...") |
|||
Line 1: | Line 1: | ||
− | [[: | + | [[Geometry:Editing_Geometry|{{Up}}]] |
− | {{Command|syntax=GET_GEO_USER_COLOR <geo ref> <red> <green> <blue> | + | {{Command|syntax=GET_GEO_USER_COLOR <geo ref>, <color_attr>, <red>, <green>, <blue> |
− | |description=Get the user color | + | |description=:Get the user color attribute associated with a geometry feature. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |param1=<geo ref>|param1_desc={{geo ref}} | ||
+ | |param2=<red>|param3_desc={{get red}} | ||
+ | |param3=<green>|param4_desc={{get green}} | ||
+ | |param4=<blue>|param5_desc={{get blue}} | ||
}} | }} | ||
===Example=== | ===Example=== | ||
− | : | + | :GET_GEO_USER_COLOR 21, RedVal, BlueVal, GreenVal |
− | [[Category: | + | [[Category:Geometry]] |
Revision as of 18:25, 23 October 2019
Command
- GET_GEO_USER_COLOR <geo ref>, <color_attr>, <red>, <green>, <blue>
- Get the user color attribute associated with a geometry feature.
Parameters
- <geo ref>
- The reference number of the geometry feature.
- <red>
- <green>
- The name of a numeric variable to set to the red component of a color.
- This will be a number between 0 and 255
- <blue>
- The name of a numeric variable to set to the green component of a color.
- This will be a number between 0 and 255
- 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_GEO_USER_COLOR 21, RedVal, BlueVal, GreenVal