Click or drag to resize

ExtrusionSetOuterProfile Method

Sets the outer profile of the extrusion.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool SetOuterProfile(
	Curve outerProfile,
	bool cap
)

Parameters

outerProfile
Type: Rhino.GeometryCurve
curve in the XY plane or a 2D curve.
cap
Type: SystemBoolean
If outerProfile is a closed curve, then cap determines if the extrusion has end caps. If outerProfile is an open curve, cap is ignored.

Return Value

Type: Boolean
true if the profile was set. If the outer profile is closed, then the extrusion may also have inner profiles. If the outer profile is open, the extrusion may not have inner profiles. If the extrusion already has a profile, the set will fail.
See Also