C# 클래스 Revit.SDK.Samples.DoorSwing.CS.DoorSwingData

Stores all the needed data and operates RevitAPI.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OpeningTypes List

공개 메소드들

메소드 설명
DeleteTempDoorInstances ( ) : void

Delete temporarily created door instances which are used to retrieve geometry. Retrieved geometry will shown to users. So they can initialize door opening parameter more visually.

DoorSwingData ( Autodesk app ) : System

constructor.

UpdateDoorFamiliesOpeningFeature ( ) : void

Do Door symbols' Opening set based on family's basic geometry and country's standard.

UpdateDoorsGeometry ( System.Windows.Forms.Document doc, bool onlyUpdateSelect ) : void

Doors related rooms: update doors' geometry according to its To/From room information.

UpdateDoorsInfo ( System.Windows.Forms.Document doc, bool onlyUpdateSelect, bool showUpdateResultMessage, string &message ) : Autodesk.Revit.UI.Result

update door instances information: Left/Right information, related rooms information.

비공개 메소드들

메소드 설명
AssignedAllRooms ( System.Windows.Forms.Document doc ) : bool

Iterate through plan topology to determine if all plan circuits have assigned rooms.

DoorSwingData ( ) : System

fill OpeningTypes static member variable.

PrepareDoorFamilies ( ) : void

get all the door families in the project. And store them in two lists separately based on opening parameter.

UpdateFromToRoomofOneDoor ( FamilyInstance door, bool updateGeo ) : void

Doors related rooms: update one door's To/From room information or geometry.

UpdateInternalDoorFlagFeatureofOneDoor ( FamilyInstance door ) : void

Update one door's internalDoor flag which indicates the door is internal door or external door.

UpdateOpeningFeatureOfOneDoor ( FamilyInstance door ) : Autodesk.Revit.UI.Result

Update doors' Left/Right information.

메소드 상세

DeleteTempDoorInstances() 공개 메소드

Delete temporarily created door instances which are used to retrieve geometry. Retrieved geometry will shown to users. So they can initialize door opening parameter more visually.
public DeleteTempDoorInstances ( ) : void
리턴 void

DoorSwingData() 공개 메소드

constructor.
public DoorSwingData ( Autodesk app ) : System
app Autodesk Revit application
리턴 System

UpdateDoorFamiliesOpeningFeature() 공개 메소드

Do Door symbols' Opening set based on family's basic geometry and country's standard.
public UpdateDoorFamiliesOpeningFeature ( ) : void
리턴 void

UpdateDoorsGeometry() 공개 정적인 메소드

Doors related rooms: update doors' geometry according to its To/From room information.
public static UpdateDoorsGeometry ( System.Windows.Forms.Document doc, bool onlyUpdateSelect ) : void
doc System.Windows.Forms.Document Revit project.
onlyUpdateSelect bool /// true means only update selected doors' information else false. ///
리턴 void

UpdateDoorsInfo() 공개 정적인 메소드

update door instances information: Left/Right information, related rooms information.
public static UpdateDoorsInfo ( System.Windows.Forms.Document doc, bool onlyUpdateSelect, bool showUpdateResultMessage, string &message ) : Autodesk.Revit.UI.Result
doc System.Windows.Forms.Document Revit project.
onlyUpdateSelect bool /// true means only update selected doors' information otherwise false. ///
showUpdateResultMessage bool /// this parameter is used for invoking this method in Application's events (document save and document saveAs). /// update door infos in Application level events should not show unnecessary messageBox. ///
message string
리턴 Autodesk.Revit.UI.Result

프로퍼티 상세

OpeningTypes 공개적으로 정적으로 프로퍼티

public static List OpeningTypes
리턴 List