Creates a OffsetFeatureInput object. Use properties and methods on this object to define the offset feature you want to create and then use the Add method, passing in the OffsetFeatureInput object to create the feature.
"offsetFeatures_var" is a variable referencing an OffsetFeatures object.
|
"offsetFeatures_var" is a variable referencing an OffsetFeatures object.
|
Type | Description |
OffsetFeatureInput | Returns the newly created OffsetFeatureInput object or null if the creation failed. |
Name | Type | Description |
entities | ObjectCollection | An ObjectCollection containing the BRepFace objects to offset. Additional faces may be automatically used depending on the value of the isChainSelection argument. Input faces need not be from the same body. |
distance | ValueInput | ValueInput object that defines the offset distance. A positive value is in the positive normal direction of the face being offset. |
operation | FeatureOperations | The feature operation to perform. 'NewBodyFeatureOperation' and 'NewComponentFeatureOperation' are the options supported. |
isChainSelection | boolean | A boolean value for setting whether or not faces that are tangentially connected to the input faces (if any) will be included in the offset. The default value is true. This is an optional argument whose default value is True. |
Name | Description |
offsetFeatures.add | Demonstrates the offsetFeatures.add method. This is the equivalent of the Offset command in the SURFACE tab. |
Offset Feature API Sample | Demonstrates creating a new offset feature |