C# Class BuildingCoder.CmdNewCrossFitting

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

External command mainline. Run in the sample model TestCrossFitting.rvt, e.g.

SelectAndPlaceTakeOffFitting ( Document doc ) : void

Private Methods

Méthode Description
CreateTemporaryConnectorForTap ( ) : Connector
GetPipeDirection ( Pipe pipe ) : XYZ

Allow selection of pipe elements only.

Return the normalised direction of the given pipe.

IsPipeParallel ( Pipe p1, Pipe p2 ) : bool

Are the two given pipes parallel?

Method Details

Execute() public méthode

External command mainline. Run in the sample model TestCrossFitting.rvt, e.g.
public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result

SelectAndPlaceTakeOffFitting() public méthode

public SelectAndPlaceTakeOffFitting ( Document doc ) : void
doc Document
Résultat void