GET FEAT END

From Macros Wiki
Revision as of 16:59, 29 July 2010 by MikeO (talk | contribs)
Jump to: navigation, search

Command

GET_FEAT_END
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> (optional)
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