C# Class Revit.SDK.Samples.SharedCoordinateSystem.CS.CoordinateSystemData

this class is used to get, set and manage information about Location
ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
ChangeCurrentLocation ( string locationName ) : void

change the current project location

CoordinateSystemData ( ExternalCommandData commandData ) : System

constructor

DuplicateLocation ( string locationName, string newLocationName ) : void

duplicate a new project location

EditPosition ( string locationName, double newAngle, double newEast, double newNorth, double newElevation ) : void

change the offset value for the project position

GatData ( ) : void

get the shared coordinate system data of the project

GetLocationData ( ) : void

get the information of all the project locations associated with this project

GetOffset ( string locationName ) : void

get the offset values of the project position

Private Methods

Method Description
ChangePrecision ( ) : void

change the Precision of the value

Method Details

ChangeCurrentLocation() public method

change the current project location
public ChangeCurrentLocation ( string locationName ) : void
locationName string
return void

CoordinateSystemData() public method

constructor
public CoordinateSystemData ( ExternalCommandData commandData ) : System
commandData ExternalCommandData the ExternalCommandData reference
return System

DuplicateLocation() public method

duplicate a new project location
public DuplicateLocation ( string locationName, string newLocationName ) : void
locationName string old location name
newLocationName string new location name
return void

EditPosition() public method

change the offset value for the project position
public EditPosition ( string locationName, double newAngle, double newEast, double newNorth, double newElevation ) : void
locationName string location name
newAngle double angle from true north
newEast double East to West offset
newNorth double north to south offset
newElevation double Elevation above ground level
return void

GatData() public method

get the shared coordinate system data of the project
public GatData ( ) : void
return void

GetLocationData() public method

get the information of all the project locations associated with this project
public GetLocationData ( ) : void
return void

GetOffset() public method

get the offset values of the project position
public GetOffset ( string locationName ) : void
locationName string
return void