ShellFeatures.CreateShellDefinition Method
Parent Object: ShellFeaturesDescription
Method that creates a new ShellDefinition object. The object returned by this method is used to define the inputs for a shell feature and is provided as the argument to the Add method of the ShellFeatures collection.
Syntax
ShellFeatures.CreateShellDefinition( [InputFaces] As Variant, [Thickness] As Variant, [Direction] As ShellDirectionEnum ) As ShellDefinitionParameters
Name | Type | Description |
InputFaces | Variant | Optional input FaceCollection object that defines the part faces to remove, leaving the remaining faces as shell walls. If no faces are specified, the shell creates a hollow part. This is an optional argument whose default value is null. |
Thickness | Variant | Optional input Variant that specifies the thickness to be applied uniformly to shell walls. This can be either a numeric value or a string. A parameter for this value will be created and the supplied string or value is assigned to the parameter. If a value is input, the units are centimeters. If a string is input, the units can be specified as part of the string or it will default to the current distance units of the document. This is an optional argument whose default value is null. |
Direction | ShellDirectionEnum | Optional input enum that specifies the shell boundary relative to the part face. Valid inputs are kInside that offsets the shell wall to the part interior, kOutside that offsets the shell wall to the exterior of the part, and kBothSides that offsets the shell wall equal distances to inside and outside the part. The default value is kInside. This is an optional argument whose default value is 41217. |