RuledSurfaceFeature.direction Property

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

Description

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.

Syntax

"ruledSurfaceFeature_var" is a variable referencing a RuledSurfaceFeature object.

# Get the value of the property.
propertyValue = ruledSurfaceFeature_var.direction

# Set the value of the property.
ruledSurfaceFeature_var.direction = propertyValue
"ruledSurfaceFeature_var" is a variable referencing a RuledSurfaceFeature object.
#include <Fusion/Features/RuledSurfaceFeature.h>

// Get the value of the property.
Ptr<Base> propertyValue = ruledSurfaceFeature_var->direction();

// Set the value of the property, where value_var is a Base.
bool returnValue = ruledSurfaceFeature_var->direction(value_var);

Property Value

This is a read/write property whose value is a Base.

Version

Introduced in version September 2020