Document.NewExtrusionRoof
Description:
Creates a new Extrusion Roof.
Creates a new Extrusion Roof.
Remarks:
This method will regenerate the document even in manual regeneration mode.
This method will regenerate the document even in manual regeneration mode.
public ExtrusionRoof NewExtrusionRoof(
CurveArray profile,
ReferencePlane refPlane,
Level level,
RoofType roofType,
double extrusionStart,
double extrusionEnd
)
-
profileThe profile of the extrusion roof. The curves of the profile must be contiguous and form one open loop without self-intersections. The profile curves must lie in the %refPlane% parallel to z-axis.
-
refPlaneThe work plane for the extrusion roof. It must be parallel to z-axis.
-
levelThe level of the extrusion roof.
-
roofTypeType of the extrusion roof.
-
DoubleextrusionStartStart the extrusion. Measured from %refPlane% in the direction of the plane normal.
-
DoubleextrusionEndEnd the extrusion. Measured from %refPlane% in the direction of the plane normal.
-
Thrown if the work plane does not exist in the given document.
-
Thrown if the level does not exist in the given document.
-
Thrown if the roof type does not exist in the given document.