C# Класс Revit.SDK.Samples.SharedCoordinateSystem.CS.CoordinateSystemData

this class is used to get, set and manage information about Location
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ChangePrecision ( ) : void

change the Precision of the value

Описание методов

ChangeCurrentLocation() публичный Метод

change the current project location
public ChangeCurrentLocation ( string locationName ) : void
locationName string
Результат void

CoordinateSystemData() публичный Метод

constructor
public CoordinateSystemData ( ExternalCommandData commandData ) : System
commandData ExternalCommandData the ExternalCommandData reference
Результат System

DuplicateLocation() публичный Метод

duplicate a new project location
public DuplicateLocation ( string locationName, string newLocationName ) : void
locationName string old location name
newLocationName string new location name
Результат void

EditPosition() публичный Метод

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
Результат void

GatData() публичный Метод

get the shared coordinate system data of the project
public GatData ( ) : void
Результат void

GetLocationData() публичный Метод

get the information of all the project locations associated with this project
public GetLocationData ( ) : void
Результат void

GetOffset() публичный Метод

get the offset values of the project position
public GetOffset ( string locationName ) : void
locationName string
Результат void