C# Class BuildingCoder.CmdMirrorListAdded

Inheritance: IExternalCommand
Mostrar archivo Open project: jeremytammik/the_building_coder_samples

Public Methods

Method Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Private Methods

Method Description
GetElementCount ( Document doc ) : int

Return the current number of non-ElementType elements.

GetElements ( Document doc ) : FilteredElementCollector

Return all elements that are not ElementType objects.

GetElementsAfter ( Document doc, ElementId lastId ) : FilteredElementCollector

Return all elements in the entire document whose element id is greater than 'lastId'.

GetElementsAfter ( FilteredElementCollector input, ElementId lastId ) : FilteredElementCollector

Return all elements from the given collector whose element id is greater than 'lastId'.

GetElementsAfter ( int n, Document doc ) : List

Return all database elements after the given number n.

Report ( FilteredElementCollector a ) : void
app_DocumentChanged ( object sender, DocumentChangedEventArgs e ) : void

Method Details

Execute() public method

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
return System.Result