C# Class Revit.SDK.Samples.WindowWizard.CS.CreateExtrusion

The class is used to create solid extrusion
Exibir arquivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CreateCurveArrayByOffset ( CurveArray origin, double offset ) : CurveArray

The method is used to create a CurveArray along to an origin CurveArray and an offset value

CreateExtrusion ( Application app, Document doc ) : System

The constructor of CreateExtrusion

CreateRectangle ( double left, double right, double top, double bottom, double y_coordinate ) : CurveArray

The method is used to create a CurveArray with four double parameters and one y coordinate value

NewExtrusion ( CurveArrArray curveArrArray, ReferencePlane workPlane, double startOffset, double endOffset ) : Extrusion

The method is used to create extrusion using FamilyItemFactory.NewExtrusion()

Method Details

CreateCurveArrayByOffset() public method

The method is used to create a CurveArray along to an origin CurveArray and an offset value
public CreateCurveArrayByOffset ( CurveArray origin, double offset ) : CurveArray
origin CurveArray the original CurveArray
offset double the offset value
return CurveArray

CreateExtrusion() public method

The constructor of CreateExtrusion
public CreateExtrusion ( Application app, Document doc ) : System
app Application the application
doc Document the document
return System

CreateRectangle() public method

The method is used to create a CurveArray with four double parameters and one y coordinate value
public CreateRectangle ( double left, double right, double top, double bottom, double y_coordinate ) : CurveArray
left double the left value
right double the right value
top double the top value
bottom double the bottom value
y_coordinate double the y_coordinate value
return CurveArray

NewExtrusion() public method

The method is used to create extrusion using FamilyItemFactory.NewExtrusion()
public NewExtrusion ( CurveArrArray curveArrArray, ReferencePlane workPlane, double startOffset, double endOffset ) : Extrusion
curveArrArray CurveArrArray the CurveArrArray parameter
workPlane ReferencePlane the reference plane is used to create SketchPlane
startOffset double the extrusion's StartOffset property
endOffset double the extrusion's EndOffset property
return Extrusion