C# 클래스 Revit.SDK.Samples.PowerCircuit.CS.CircuitOperationData

Data class which stores the information of electrical circuit operation
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
AddElementToCircuit ( ) : void

Add an element to circuit

CircuitOperationData ( ExternalCommandData commandData ) : System

Constructor

CreatePowerCircuit ( ) : void

Create a power circuit with selected elements

DisconnectPanel ( ) : void

Disconnect panel for selected circuit

EditCircuit ( ) : void

Dispatch operations of editing circuit

Operate ( ) : void

Dispatch operations

RemoveElementFromCircuit ( ) : void

Remove an element from selected circuit

SelectCircuit ( int index ) : void

Get selected index from circuit selecting form and locate expected circuit

SelectCurrentCircuit ( ) : void

Select created/modified/selected electrical system

SelectPanel ( ) : void

Select a panel for selected circuit

ShowCircuit ( int index ) : void

Get selected index from circuit selecting form and show the circuit in the center of screen by moving the view.

비공개 메소드들

메소드 설명
CollectCircuitInfo ( ) : void

Get common circuits contain all selected elements

CollectConnectorInfo ( ) : void

Verify if all selected elements have unused connectors

IsElementBelongsToCircuit ( MEPModel mepModel, ElectricalSystem selectedElectricalSystem ) : bool
ShowErrorMessage ( String message ) : void

Show message box with specified string

VerifyUnusedConnectors ( FamilyInstance fi ) : bool

Verify if the family instance has usable connectors

메소드 상세

AddElementToCircuit() 공개 메소드

Add an element to circuit
public AddElementToCircuit ( ) : void
리턴 void

CircuitOperationData() 공개 메소드

Constructor
public CircuitOperationData ( ExternalCommandData commandData ) : System
commandData ExternalCommandData Revit's external commandData
리턴 System

CreatePowerCircuit() 공개 메소드

Create a power circuit with selected elements
public CreatePowerCircuit ( ) : void
리턴 void

DisconnectPanel() 공개 메소드

Disconnect panel for selected circuit
public DisconnectPanel ( ) : void
리턴 void

EditCircuit() 공개 메소드

Dispatch operations of editing circuit
public EditCircuit ( ) : void
리턴 void

Operate() 공개 메소드

Dispatch operations
public Operate ( ) : void
리턴 void

RemoveElementFromCircuit() 공개 메소드

Remove an element from selected circuit
public RemoveElementFromCircuit ( ) : void
리턴 void

SelectCircuit() 공개 메소드

Get selected index from circuit selecting form and locate expected circuit
public SelectCircuit ( int index ) : void
index int Index of selected item in circuit selecting form
리턴 void

SelectCurrentCircuit() 공개 메소드

Select created/modified/selected electrical system
public SelectCurrentCircuit ( ) : void
리턴 void

SelectPanel() 공개 메소드

Select a panel for selected circuit
public SelectPanel ( ) : void
리턴 void

ShowCircuit() 공개 메소드

Get selected index from circuit selecting form and show the circuit in the center of screen by moving the view.
public ShowCircuit ( int index ) : void
index int Index of selected item in circuit selecting form
리턴 void