C# Class BuildingCoder.CmdNewSweptBlend

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

Public Methods

Method Description
CreateNewSweptBlend ( Document doc ) : void

Create a new swept blend form. The NewSweptBlend method requires the input profile to be in the XY plane.

CreateNewSweptBlendArc ( Document doc ) : void

Create a new swept blend form using arcs to define circular start and end profiles and an arc path. The NewSweptBlend method requires the input profiles to be in the XY plane.

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

Private Methods

Method Description
CreateSketchPlane ( Document doc, XYZ normal, XYZ origin ) : SketchPlane

Create a sketch plane. This helper method is copied from the GenericModelCreation SDK sample.

Method Details

CreateNewSweptBlend() public method

Create a new swept blend form. The NewSweptBlend method requires the input profile to be in the XY plane.
public CreateNewSweptBlend ( Document doc ) : void
doc Document
return void

CreateNewSweptBlendArc() public method

Create a new swept blend form using arcs to define circular start and end profiles and an arc path. The NewSweptBlend method requires the input profiles to be in the XY plane.
public CreateNewSweptBlendArc ( Document doc ) : void
doc Document
return void

Execute() public method

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