NXOpen.UF.Modl.CreateExtrusionDir¶
-
Modl.
CreateExtrusionDir
()¶ Refer to UF_MODL_create_extrusion_dir for documentation.
Signature:
CreateExtrusionDir(extrudeArray, extrudeCount, trimPtr, trimOptions, taperAngle, limits, offsets, regionPoint, cutSpecified, solidBodyCreation, datumEid, sign)
Parameters: - extrudeArray (list of Tag) – List of objects to be extruded.
- extrudeCount (int) – Count of the objects to be extruded.
- trimPtr (
NXOpen.UF.Modl.SweepTrimObject
Refer to UF_MODL_SWEEP_TRIM_object_s for documentation.) – The structure that contains the trimming data. - trimOptions (
NXOpen.UF.Modl.SweepTrimOpts
Refer to UF_MODL_SWEEP_TRIM_OPTS for documentation.) – Trimming options: DO_NOT_EXTEND_TRIM_FACE = do not extend the trimming face, DO_NOT_EXTEND_AND_EXTEND_TRIM_FACE = first do not extend the trimming face and perform boolean operation. If fails, extend the trimming face and perform boolean. EXTEND_FIRST_TRIM_FACE = extend the first trimming face, EXTEND_SECOND_TRIM_FACE = extend the second trimming face, EXTEND_BOTH_TRIM_FACES = extend both trimming faces - taperAngle (str) – The taper angle for the extrusion.
- limits (list of str) – extrude_countThe limits of the extrusion. Only used if the trim_ptr argument is NULL.
- offsets (list of str) – The offsets for open strings
- regionPoint (list of float) – The point on the region desired.
- cutSpecified (bool) – TRUE or FALSE for region desired.
- solidBodyCreation (bool) – If TRUE, create solid bodies if the input string is closed. Otherwise sheet bodies will be created.
- datumEid (Tag) – Object identifier of a datum which will provide the direction of the extrusion.
- sign (
NXOpen.UF.Modl.FeatureSigns
Refer to UF_FEATURE_SIGNS for documentation.) – The sign of the operation to be performed: UF_POSITIVE = add to target solid UF_NEGATIVE = subtract from target solid UF_UNSIGNED = intersect with target solid
Returns: A Tuple
Return type: A tuple consisting of (objects,objectCount)
objects(list of Tag): An array of extruded feature tags. This must be freed by calling UF_free.
objectCount(int): The number of features returned in the objects array.
License requirements: SOLIDS MODELING