Difference between revisions of "GET FEAT START"
From Macros Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Geometry:Selecting_Geometry| | + | [[Geometry:Selecting_Geometry|{{Up}}]] |
{{Command|syntax=[[Image:get_feat_start.png|right|GET_FEAT_START]]GET_FEAT_START <geo ref>, <cs>, <xs>, <ys>, [<zs>] | {{Command|syntax=[[Image:get_feat_start.png|right|GET_FEAT_START]]GET_FEAT_START <geo ref>, <cs>, <xs>, <ys>, [<zs>] | ||
Line 8: | Line 8: | ||
|param3=<xs>|param3_desc={{get feat xs}} | |param3=<xs>|param3_desc={{get feat xs}} | ||
|param4=<ys>|param4_desc={{get feat ys}} | |param4=<ys>|param4_desc={{get feat ys}} | ||
− | |param5=<zs> | + | |param5=[<zs>]|param5_desc={{get feat zs}} |
}} | }} | ||
===Example=== | ===Example=== | ||
− | :GET_FEAT_START | + | :GET_FEAT_START 21, 1, x3, y1, x2 |
:For an example in a real macro see [[Check_Point_Data]] or [[Check_Line_Data]] or [[Check_Arc_Data]] [[Debug_Sel_geo]] [[Print_Geo_Data_To_File]] | :For an example in a real macro see [[Check_Point_Data]] or [[Check_Line_Data]] or [[Check_Arc_Data]] [[Debug_Sel_geo]] [[Print_Geo_Data_To_File]] | ||
[[Category:Geometry]] | [[Category:Geometry]] |
Latest revision as of 09:34, 12 August 2010
Command
- GET_FEAT_START <geo ref>, <cs>, <xs>, <ys>, [<zs>]
- Get the start of a gemetry feature.
Parameters
- <geo ref>
- The reference number of the geometry feature.
- <cs>
- Set to zero to return the values in the CS associated with the geometry feature.
- Set to 1 to return values in the world CS.
- <xs>
- The name of a numeric variable to set to the X position of the feature start
- <ys>
- The name of a numeric variable to set to the Y position of the feature start
- [<zs>]
- The name of a numeric variable to set to the Z position of the feature start
Example
- GET_FEAT_START 21, 1, x3, y1, x2
- For an example in a real macro see Check_Point_Data or Check_Line_Data or Check_Arc_Data Debug_Sel_geo Print_Geo_Data_To_File