C# Class BuildingCoder.CmdCropToRoom

Inheritance: IExternalCommand
Afficher le fichier Open project: jeremytammik/the_building_coder_samples

Méthodes publiques

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

Private Methods

Méthode Description
BumpRoomIndex ( int room_count ) : int

Increment and return the current room index. Every call to this method increments the current room index by one. If it exceeds the number of rooms in the model, loop back to zero.

IsElementOutsideCropBox ( Element e, View v ) : bool

Return true if element is outside of view crop box

SectionBox ( UIDocument uidoc ) : void

Set 3D view section box to selected element extents.

Method Details

Execute() public méthode

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