C# 클래스 RevitLookup.Test.SDKSamples.TypeSelector.TypeSelectorForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: jeremytammik/RevitLookup 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_app Autodesk.Revit.UI.UIApplication
m_curObj System.Object
m_curSymbolId int
m_symbolSet List
m_treeTypeNodes System.Collections.ArrayList
m_types System.Collections.ArrayList

공개 메소드들

메소드 설명
TypeSelectorForm ( Autodesk revitApp, ICollection elemSet ) : System

보호된 메소드들

메소드 설명
AddObjectsToTree ( IEnumerable objs ) : void
CommonInit ( IEnumerable objs ) : void
DisplayAvailableSymbols ( ) : void

The list of available Symbols. Need to just walk the list and print out a human read-able label

Dispose ( bool disposing ) : void

Clean up any resources being used.

GetAvailableSymbols ( System curObj ) : void

For a given Element, get all available Symbols that it could be set to. NOTE: since there is no virtual function to get and set Symbols for an element, we have to have a switch-like statement and treat each known type manually.

GetExistingNodeForType ( System objType ) : TreeNode

If we've already seen this type before, return the existing TreeNode object

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnTreeNodeSelect ( object sender, TreeViewEventArgs e ) : void

User selected a node of the tree. Just change what is displayed in the ListBox for the current node.

OnTypeChanged ( object sender, EventArgs e ) : void

User selected a different item in the ListBox, update the underlying Element to point to the new Symbol selected.

메소드 상세

AddObjectsToTree() 보호된 메소드

protected AddObjectsToTree ( IEnumerable objs ) : void
objs IEnumerable
리턴 void

CommonInit() 보호된 메소드

protected CommonInit ( IEnumerable objs ) : void
objs IEnumerable
리턴 void

DisplayAvailableSymbols() 보호된 메소드

The list of available Symbols. Need to just walk the list and print out a human read-able label
protected DisplayAvailableSymbols ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetAvailableSymbols() 보호된 메소드

For a given Element, get all available Symbols that it could be set to. NOTE: since there is no virtual function to get and set Symbols for an element, we have to have a switch-like statement and treat each known type manually.
protected GetAvailableSymbols ( System curObj ) : void
curObj System The Element that was selected in the Tree
리턴 void

GetExistingNodeForType() 보호된 메소드

If we've already seen this type before, return the existing TreeNode object
protected GetExistingNodeForType ( System objType ) : TreeNode
objType System System.Type we're looking to find
리턴 System.Windows.Forms.TreeNode

TypeSelectorForm() 공개 메소드

public TypeSelectorForm ( Autodesk revitApp, ICollection elemSet ) : System
revitApp Autodesk
elemSet ICollection
리턴 System

프로퍼티 상세

m_app 보호되어 있는 프로퍼티

protected Autodesk.Revit.UI.UIApplication m_app
리턴 Autodesk.Revit.UI.UIApplication

m_curObj 보호되어 있는 프로퍼티

protected Object,System m_curObj
리턴 System.Object

m_curSymbolId 보호되어 있는 프로퍼티

protected int m_curSymbolId
리턴 int

m_symbolSet 보호되어 있는 프로퍼티

protected List m_symbolSet
리턴 List

m_treeTypeNodes 보호되어 있는 프로퍼티

protected ArrayList,System.Collections m_treeTypeNodes
리턴 System.Collections.ArrayList

m_types 보호되어 있는 프로퍼티

protected ArrayList,System.Collections m_types
리턴 System.Collections.ArrayList