SilhouetteSplitFeature.viewDirection Property

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

Description

Gets and sets the entity that defines the silhouette view direction, which can be a construction axis, linear BRepEdge, planar BRepFace or a construction plane.

To use this property, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"silhouetteSplitFeature_var" is a variable referencing a SilhouetteSplitFeature object.

# Get the value of the property.
propertyValue = silhouetteSplitFeature_var.viewDirection

# Set the value of the property.
silhouetteSplitFeature_var.viewDirection = propertyValue
"silhouetteSplitFeature_var" is a variable referencing a SilhouetteSplitFeature object.
#include <Fusion/Features/SilhouetteSplitFeature.h>

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

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

Property Value

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

Version

Introduced in version June 2015