Difference between revisions of "GET FEAT END"
From Macros Wiki
Line 3: | Line 3: | ||
|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}} |
}} | }} | ||
Revision as of 16:58, 29 July 2010
Command
- GET_FEAT_END <geo ref>, <cs>, <xe>, <ye>, [<ze>]
- Get data about the end point of a feature, the values of the x, y and z end are stored in a defined variable.
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, y1, u1, e1
- For an example in a real macro see Check_Line_Data or Check_Arc_Data Debug_Sel_geo Print_Geo_Data_To_File