NXOpen.UF.Modl.CreateExtrusionDefault

Modl.CreateExtrusionDefault()

Refer to UF_MODL_create_extrusion_default for documentation.

Signature: CreateExtrusionDefault(extrudeArray, extrudeCount, trimPtr, trimOptions, taperAngle, limits, offsets, regionPoint, cutSpecified, solidBodyCreation, sketchEid, reverseDefault, 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.
  • sketchEid (Tag) – The object identifier of a sketch which will be used to determine the direction of the extrusion.
  • reverseDefault (bool) – If TRUE, then reverse the direction of the sketch. If FALSE, then use the same direction as the sketch.
  • 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