The DiscreteFastener object defines a discrete fastener.
The DiscreteFastener object is derived from the Fastener object.
import part mdb.models[name].parts[name].engineeringFeatures.fasteners[name] import assembly mdb.models[name].rootAssembly.engineeringFeatures.fasteners[name]
This method creates a DiscreteFastener object. Although the constructor is available both for parts and for the assembly, DiscreteFastener objects are currently supported only under the assembly.
mdb.models[name].parts[name].engineeringFeatures.DiscreteFastener mdb.models[name].rootAssembly.engineeringFeatures.DiscreteFastener
Required arguments
A String specifying the repository key.
A Region object specifying the region to which the fastener is applied.
The SymbolicConstant WHOLE_SURFACE or a Float specifying the coupling influence radius.
Optional arguments
A Boolean specifying whether to constrain rotational displacement component about the 1-direction. The default value is ON.
A Boolean specifying whether to constrain rotational displacement component about the 2-direction. The default value is ON.
A Boolean specifying whether to constrain rotational displacement component about the 3-direction. The default value is ON.
A SymbolicConstant specifying the coupling method used to couple the displacement and rotation of each attachment point to the average motion of the surface nodes within the radius of influence from the fastening point. Possible values are CONTINUUM and STRUCTURAL. The default value is CONTINUUM.
A SymbolicConstant specifying the weighting scheme to be used to weight the contribution of the displacements of the surface nodes within the radius of influence to the motion of the fastening point. UNIFORM, LINEAR, QUADRATIC, and CUBIC indicate uniform, linear decreasing, quadratic polynomial decreasing, and cubic polynomial monotonic decreasing weight distributions. Possible values are UNIFORM, LINEAR, QUADRATIC, and CUBIC. The default value is UNIFORM.
None or a DatumCsys object specifying the local coordinate system of fastener couplings. If localCsys=None, couplings are defined in the global coordinate system. When this member is queried, it returns an Int. The default value is None.
Return value
A DiscreteFastener object.
Exceptions
This method modifies the DiscreteFastener object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the DiscreteFastener method, except for the name argument.
Return value
Exceptions
The DiscreteFastener object has members with the same names and descriptions as the arguments to the DiscreteFastener method.
In addition, the DiscreteFastener object has the following member:
A Boolean specifying whether the fastener is suppressed or not. The default value is OFF.