Difference between revisions of "GET FEAT END"

From Macros Wiki
Jump to: navigation, search
Line 6: Line 6:
 
|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_desc={{get feat ze}}
+
|param5=<ze> (optional)|param5_desc={{get feat ze}}
 
}}
 
}}
  

Revision as of 16:59, 29 July 2010

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