Product : Engine, Version : 4.0.1.1019, ArticleID : 41019097

HowTo : Change the elevation of Current Coordinate System

Article41019097
TypeHowTo
ProductEngine
Version4.0.1.1019
Date Added5/5/2003
Submitted by
Keywords

Subject

Change the elevation of Current Coordinate System

Summary

How can I change the elevation of Current Coordinate System.

Solution


Use the following method to change the elevation from 0.0 to 100.0 drawing units:



vdraw.CommandAction.UCS Array(0,0,100),Array(1,0,100),Array(0,1,100)


 


In version 5.1.1.1037 a new property was added in Layout object, Elevation which Stores the current elevation relative to the CurrentCS.


When a user action is open then the points are translated to get the elevation of active CCS plus the Elevation property value.

When the user pick a point with the mouse then the point take z value = CCS plus the Elevation property value.

When the user pass the coordinates of the point with x,y only then the z value = CCS plus the Elevation property value.

When the user pass the coordinates of the point with x,y and Z value the z value is not changed it only takes the elevation of CCS

Note:

The above notes has todo with the Cmd command actions only.

Add methods(addline,addcircle etc) always take the coordinates in WorldCS if the z value is missing then it asumes as 0.0 in wcs