Difference between revisions of "GET FEAT END"
From Macros Wiki
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Command|syntax=GET_FEAT_END <geo ref>, <cs>, <xe>, <ye>, [<ze>] | + | [[Geometry:Selecting_Geometry|{{Up}}]] |
− | |description= | + | |
+ | {{Command|syntax=[[Image:get_feat_end.png|right|GET_FEAT_END]]GET_FEAT_END <geo ref>, <cs>, <xe>, <ye>, [<ze>] | ||
+ | |description=:Get the end point of a geometry feature. | ||
|param1=<geo ref>|param1_desc={{geo ref}} | |param1=<geo ref>|param1_desc={{geo ref}} | ||
− | |param2=<cs>|param2_desc={{cs}} | + | |param2=<cs>|param2_desc={{get geo cs}} |
− | |param3=<xe>|param3_desc={{ | + | |param3=<xe>|param3_desc={{get feat xe}} |
− | |param4=<ye>|param4_desc={{ | + | |param4=<ye>|param4_desc={{get feat ye}} |
− | |param5=[<ze>]|param5_desc={{ | + | |param5=[<ze>]|param5_desc={{get feat ze}} |
}} | }} | ||
===Example=== | ===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]] | ||
[[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