Difference between revisions of "GET FEAT END"
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_end.png|right|GET_FEAT_END]]GET_FEAT_END <geo ref>, <cs>, <xe>, <ye>, [<ze>] | {{Command|syntax=[[Image:get_feat_end.png|right|GET_FEAT_END]]GET_FEAT_END <geo ref>, <cs>, <xe>, <ye>, [<ze>] | ||
Line 8: | Line 8: | ||
|param3=<xe>|param3_desc={{get feat xe}} | |param3=<xe>|param3_desc={{get feat xe}} | ||
|param4=<ye>|param4_desc={{get feat ye}} | |param4=<ye>|param4_desc={{get feat ye}} | ||
− | |param5=<ze> | + | |param5=[<ze>]|param5_desc={{get feat ze}} |
}} | }} | ||
===Example=== | ===Example=== | ||
− | :GET_FEAT_END 21, 1, y1, | + | :GET_FEAT_END 21, 1, x3, y1, x2 |
:For an example in a real macro see [[Check_Line_Data]] or [[Check_Arc_Data]] [[Debug_Sel_geo]] [[Print_Geo_Data_To_File]] | :For an example in a real macro see [[Check_Line_Data]] or [[Check_Arc_Data]] [[Debug_Sel_geo]] [[Print_Geo_Data_To_File]] | ||
[[Category:Geometry]] | [[Category:Geometry]] |
Latest revision as of 09:33, 12 August 2010
Command
- GET_FEAT_END <geo ref>, <cs>, <xe>, <ye>, [<ze>]
- Get the end point of a geometry 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.
- <xe>
- The name of a numeric variable to be set to the X position of the feature end
- <ye>
- The name of a numeric variable to be set to the Y position of the feature end
- [<ze>]
- The name of a numeric variable to be set to the Z position of the feature end
Example
- GET_FEAT_END 21, 1, x3, y1, x2
- For an example in a real macro see Check_Line_Data or Check_Arc_Data Debug_Sel_geo Print_Geo_Data_To_File