C# Class BuildingCoder.CmdPickPoint3d

Inheritance: IExternalCommand
显示文件 Open project: jeremytammik/the_building_coder_samples

Public Methods

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

Private Methods

Method Description
PickFaceSetWorkPlaneAndPickPoint ( UIDocument uidoc, XYZ &point_in_3d ) : bool

Prompt the user to select a face on an element and then pick a point on that face. The first picking of the face on the element temporarily redefines the active work plane, on which the second point can be picked.

Method Details

Execute() public method

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

PickPointsForArea() public method

public PickPointsForArea ( UIDocument uidoc ) : void
uidoc UIDocument
return void