RuledSurfaceFeature Object

Derived from: Feature Object
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/RuledSurfaceFeature.h>

Description

Object that represents an existing RuledSurface feature in a design.

Methods

Name Description
classType

createForAssemblyContext

Creates or returns a proxy for the native object - i.e. a new object that represents this object but adds the assembly context defined by the input occurrence.

deleteMe

dissolve

Properties

Name Description
alternateFace Gets and sets if the other face is used for creation of the Ruled Surface. When creating a ruled surface using the edges of a solid or the interior edges of a surface the angle of the ruled surface is measured with respect to the face the selected edge is bounding. For a solid, or an interior edge on a surface, the edge connects to two faces. This setting toggles which of the two faces will be used for measuring the angle.
angle Returns the parameter controlling the Ruled Surface angle. You can edit the angle by editing the value of the parameter object.
assemblyContext
attributes
baseFeature
bodies
cornerType Gets and sets the corner type for the ruled surface, indicating if the corners will be rounded or mitered. The default value is rounded.
direction Gets and sets the entity that defines the direction when the ruled surface type is DirectionRuledSurfaceType. The direction is specified by providing a linear or planar entity. For example, a linear edge, construction axis, planar face, or construction plane can be used as input.

If this property is set when the ruledSurfaceType is not DirectionRuledSurfaceType, the type will automatically be changed to DirectionRuledSurfaceType. If you get this property when the direction is not DirectionRuledSurfaceType, it will return null.
distance Returns the parameter controlling the Ruled Surface distance. You can edit the distance by editing the value of the parameter object.
entityToken
errorOrWarningMessage
faces
healthState
isParametric
isSuppressed
isValid
linkedFeatures
name
nativeObject The NativeObject is the object outside the context of an assembly and in the context of its parent component. Returns null in the case where this object is not in the context of an assembly but is already the native object.
objectType
parentComponent
profile Gets and sets the Profile object that defines the sketch geometry or edges that define the shape of the ruled surface. The Component.createBRepEdgeProfile method is useful to create a profile defined from edges.

In many cases the RuledSurface operation results in the profile being consumed so it is no longer available after the feature is created. In this case, you need to reposition the timeline marker to just before this feature, when the profile still exists.
ruledSurfaceType Gets and sets the type of ruled surface. To set this to DirectionRuledSurfaceType, use the direction property to set the direction entity, which will automatically set this to DirectionRuledSurfaceType.
timelineObject

Accessed From

RuledSurfaceFeature.createForAssemblyContext, RuledSurfaceFeature.nativeObject, RuledSurfaceFeatures.add, RuledSurfaceFeatures.item, RuledSurfaceFeatures.itemByName

Samples

Name Description
Ruled Surface Feature API Sample Demonstrates creating a new ruled surface feature.

Version

Introduced in version September 2020