NXOpen.UF.Gexp.CreateLength

Gexp.CreateLength()

Refer to UF_GEXP_create_length for documentation.

Signature: CreateLength(objectArg, xform)

Parameters:
  • objectArg (Tag) – Tag of object for which to create the length. Valid object types are: UF_line_type UF_circle_type UF_spline_type UF_conic_type UF_solid_type Occurrence tags are not allowed. Use the prototype tag instead.
  • xform (Tag) – Tag of transformation for the object. The tag is NULL_TAG if the object is in the same part in which the feature is created.
Returns:

A Tuple

Return type:

A tuple consisting of (featureTag,expTag)

featureTag(Tag): Tag of the created feature

expTag(Tag): Tag of the created expression

License requirements: None