SilhouetteSplitFeatures.createInput Method
Parent Object:
SilhouetteSplitFeaturesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/SilhouetteSplitFeatures.h>
Description
Creates a SilhouetteSplitFeatureInput object. Use properties and methods on this object to define the silhouette split you want to create and then use the Add method, passing in the SilhouetteSplitFeatureInput object.
Syntax
"silhouetteSplitFeatures_var" is a variable referencing a SilhouetteSplitFeatures object.returnValue = silhouetteSplitFeatures_var.createInput(viewDirection, targetBody, operation)
|
"silhouetteSplitFeatures_var" is a variable referencing a SilhouetteSplitFeatures object.
#include <Fusion/Features/SilhouetteSplitFeatures.h>
returnValue = silhouetteSplitFeatures_var->createInput(viewDirection, targetBody, operation);
|
Return Value
Parameters
viewDirection |
Base |
A construction axis, linear BRepEdge, planar BRepFace or a construction plane that defines the view direction where the silhouette is calculated. |
targetBody |
BRepBody |
Input the single solid body to split |
operation |
SilhouetteSplitOperations |
The type of silhouette split operation to perform. |
Samples
silhouetteSplitFeatures.add |
Demonstrates the silhouetteSplitFeatures.add method. The Silhouette Split feature is limited in the bodies it will split. The simplest body to get a valid result is to create a sphere and split it. |
Silhouette Split Feature API Sample |
Demonstrates creating a new silhouette split feature. |
Version
Introduced in version June 2015