NXOpen.UF.Gexp.CreateDistance¶
-
Gexp.
CreateDistance
()¶ Refer to UF_GEXP_create_distance for documentation.
Signature:
CreateDistance(fromObject, object1Xform, toObject, object2Xform)
Parameters: - fromObject (Tag) – Tag of object to create the distance from. Valid object types are: UF_point_type, UF_line_type, UF_circle_type, UF_spline_type, UF_conic_type, UF_solid_type, and UF_datum_plane_type. Occurrence tags are not allowed. Use the prototype tag instead.
- object1Xform (Tag) – Tag of transformation for first object. This tag is NULL_TAG if the object is in the same part in which the feature is created.
- toObject (Tag) – Tag of object to create distance to. Valid object types are: UF_point_type, UF_line_type, UF_circle_type, UF_spline_type, UF_conic_type, UF_solid_type, and UF_datum_plane_type. Occurrence tags are not allowed. Use the prototype tag instead.
- object2Xform (Tag) – Tag of transformation for second object. This 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