Share

UnwrapFeatures.CreateDefinition Method

Parent Object: UnwrapFeatures

Description

Method that creates a new UnwrapDefinition object. The object created does not represent a Unwrap feature but instead is a representation of the information that defines a Unwrap feature. You can use this object as input to the UnwrapFeatures.Add method to create the actual feature.

Syntax

UnwrapFeatures.CreateDefinition( Faces As FaceCollection, [pOrigin] As Variant, [Align] As UnwrapResultAlignmentEnum, [LinearResult] As Variant, [RigidResult] As Variant, [AutomaticFaceChain] As Boolean, [MergeResultBody] As Boolean ) As UnwrapDefinition

Parameters

Name Type Description
Faces FaceCollection Input FaceCollection object that specifies the faces to Unwrap. The faces should be from the same body, otherwise an error would occur.
pOrigin Variant Optional input a Vertex object that specifies the origin.

This is an optional argument whose default value is null.
Align UnwrapResultAlignmentEnum Optional input UnwrapResultAlignmentEnum that specifies the alignment of the deformed result. This defaults to kOriginAlignment if it is not specified.

This is an optional argument whose default value is 116993.
LinearResult Variant Optional input EdgeCollection that specifies a set of consecutive edges to become a single colinear segment in the result. The edges should be from the faces in the InputFaces property and only outer edges that enclose the faces are valid.

This is an optional argument whose default value is null.
RigidResult Variant Optional input EdgeCollection that specifies a set of consecutive planar edges to remain rigid in the result. The edges should be from the faces in the InputFaces property and only outer edges that enclose the faces are valid.

This is an optional argument whose default value is null.
AutomaticFaceChain Boolean Optional input Boolean that defines if automatic face chaining along tangentially connected faces should be performed. The default value is True.

This is an optional argument whose default value is True.
MergeResultBody Boolean Optional input Boolean that defines if merge result body or not. The default value is True.

This is an optional argument whose default value is True.

Version

Introduced in version 2020

Was this information helpful?