SELECT GEO ATTR COLOR: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=SELECT_GEO_ATTR_COLOR <red>, <green>, <blue>
[[Geometry:Editing_Geometry|{{Up}}]]
|description=:


|param1=<red>|param1_desc={{red}}
{{Command|syntax=SELECT_GEO_ATTR_COLOR <geo ref>, <red>, <green>, <blue>
|param2=<green>|param2_desc={{green}}
|description=:Select the user color attribute associated with a geometry feature.
|param3=<blue>|param3_desc={{blue}}
 
|param1=<geo ref>|param1_desc={{geo ref}}
|param2=<red>|param2_desc={{set red}}
|param3=<green>|param3_desc={{set green}}
|param4=<blue>|param4_desc={{set blue}}
}}
}}


===Example===
===Example===
:SELECT_GEO_ATTR_COLOR 0, 1, 0
:SET_GEO_ATTR_COLOR 41, 0, 127, 255


[[Category:Geometry]]
[[Category:Geometry]]

Latest revision as of 14:39, 12 August 2010

Up

Command

SELECT_GEO_ATTR_COLOR <geo ref>, <red>, <green>, <blue>


Select the user color attribute associated with a geometry feature.

Parameters

<geo ref>
The reference number of the geometry feature.
<red>
The red component of a color, a number between 0 and 255
<green>
The green component of a color, a number between 0 and 255
<blue>
The blue component of a color, a number between 0 and 255

Example

SET_GEO_ATTR_COLOR 41, 0, 127, 255