M_Rhino_Geometry_Extrusion_SetOuterProfile - mcneel/rhinocommon-api-docs GitHub Wiki
Sets the outer profile of the extrusion.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool SetOuterProfile(
Curve outerProfile,
bool cap
)
VB
Public Function SetOuterProfile (
outerProfile As Curve,
cap As Boolean
) As Boolean
- outerProfile
- Type: Rhino.Geometry.Curve
curve in the XY plane or a 2D curve. - cap
- Type: System.Boolean
If outerProfile is a closed curve, then cap determines if the extrusion has end caps. If outerProfile is an open curve, cap is ignored.
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.
Supported in: 6.0.16224.21491, 5D58w