Property | Type | Description | |
---|---|---|---|
m_app | Autodesk.Revit.UI.UIApplication | ||
m_curObj | |||
m_curSymbolId | int | ||
m_symbolSet | List |
||
m_treeTypeNodes | |||
m_types |
Method | Description | |
---|---|---|
TypeSelectorForm ( Autodesk revitApp, ICollection |
Method | Description | |
---|---|---|
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 ) : |
If we've already seen this type before, return the existing TreeNode object
|
Method | Description | |
---|---|---|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
OnTreeNodeSelect ( object sender, |
User selected a node of the tree. Just change what is displayed in the ListBox for the current node.
|
|
OnTypeChanged ( object sender, |
User selected a different item in the ListBox, update the underlying Element to point to the new Symbol selected.
|
protected AddObjectsToTree ( IEnumerable objs ) : void | ||
objs | IEnumerable | |
return | void |
protected CommonInit ( IEnumerable objs ) : void | ||
objs | IEnumerable | |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected GetAvailableSymbols ( System curObj ) : void | ||
curObj | System | The Element that was selected in the Tree |
return | void |
protected GetExistingNodeForType ( System objType ) : |
||
objType | System | System.Type we're looking to find |
return |
public TypeSelectorForm ( Autodesk revitApp, ICollection |
||
revitApp | Autodesk | |
elemSet | ICollection |
|
return | System |
protected Autodesk.Revit.UI.UIApplication m_app | ||
return | Autodesk.Revit.UI.UIApplication |
protected ArrayList,System.Collections m_treeTypeNodes | ||
return |