Difference between revisions of "GET FEAT START"

From Macros Wiki
Jump to: navigation, search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=GET_FEAT_START <geo ref>, <cs>, <xs>, <ys>, [<zs>]
+
[[Geometry:Selecting_Geometry|{{Up}}]]
|description=*DESCRPTION*
+
 
 +
{{Command|syntax=[[Image:get_feat_start.png|right|GET_FEAT_START]]GET_FEAT_START <geo ref>, <cs>, <xs>, <ys>, [<zs>]
 +
|description=:Get the start of a gemetry 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=<xs>|param3_desc={{getxs}}
+
|param3=<xs>|param3_desc={{get feat xs}}
|param4=<ys>|param4_desc={{getys}}
+
|param4=<ys>|param4_desc={{get feat ys}}
|param5=[<zs>]|param5_desc={{getzs}}
+
|param5=[<zs>]|param5_desc={{get feat zs}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:GET_FEAT_START
+
:GET_FEAT_START 21, 1, x3, y1, x2
  
 +
:For an example in a real macro see [[Check_Point_Data]] or [[Check_Line_Data]] or [[Check_Arc_Data]]  [[Debug_Sel_geo]] [[Print_Geo_Data_To_File]]
 
[[Category:Geometry]]
 
[[Category:Geometry]]

Latest revision as of 09:34, 12 August 2010

Up

Command

GET_FEAT_START
GET_FEAT_START <geo ref>, <cs>, <xs>, <ys>, [<zs>]


Get the start of a gemetry 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.
<xs>
The name of a numeric variable to set to the X position of the feature start
<ys>
The name of a numeric variable to set to the Y position of the feature start
[<zs>]
The name of a numeric variable to set to the Z position of the feature start

Example

GET_FEAT_START 21, 1, x3, y1, x2
For an example in a real macro see Check_Point_Data or Check_Line_Data or Check_Arc_Data Debug_Sel_geo Print_Geo_Data_To_File