NXOpen.UF.Modeling.EditScale

Modeling.EditScale()

Refer to UF_MODL_edit_scale for documentation.

Signature: EditScale(type, tag, soPoint, soDir, soCsys, factors)

Parameters:
  • type (NXOpen.UF.Modl.ScaleType Refer to UF_SCALE_TYPE_e for documentation.) – The new type of scale feature to be edited to: UF_SCALE_TYPE_UNIFORM UF_SCALE_TYPE_AXISYMMETRIC UF_SCALE_TYPE_GENERAL
  • tag (Tag) – The tag of an existing scale feature to be edited
  • soPoint (Tag) – This is the tag of a smart point to use as the origin of the scale feature. If a NULL_TAG is passed, the default origin will be the origin of the WCS. This argument is ignored for UF_SCALE_TYPE_GENERAL scale features.
  • soDir (Tag) – This is a tag of a smart point to be used as the direction of the scale for a UF_SCALE_TYPE_AXISYMMETRIC scale feature. It is ignored for all other scale features. If a NULL_TAG is passed for an axisymmetric scale feature, then the default will be the Z-axis of the WCS.
  • soCsys (Tag) – This is the tag of a smart CSYS to be used for a UF_SCALE_TYPE_GENERAL scale feature. This parameter is ignored for all other scale features. If a NULL_TAG is passed for a general scale feature, then the default will be the WCS.
  • factors (list of str) – An array of strings that define the scale factors.These scale factors may include expressions. For a uniform scale feature, there is only one string to use as a scale factor. For an axisymmetric scale feature, two factor strings must be passed in, the first being the scale factor along the axis, and the second being the scale factor in the other direction. For a general scale feature, there will be three strings passed in this array, the first being the scale in the x-axis, the second being the scale in the y-axis and the third being the scale in the z-axis.

License requirements: SOLIDS MODELING