NXOpen.UF.Sket.SetLegacyPreferences

Sket.SetLegacyPreferences()

Refer to UF_SKET_set_legacy_preferences for documentation.

Signature: SetLegacyPreferences(values, snapAngle, capDist, ptName, autoFlag, showFlag, charSize, decPlaces, extLines, dimLabel)

Parameters:
  • values (list of int) – Array of flags to indicate which settings should be modified (0 = leave at current value, 1 = change to new value): [0] = Snap angle [1] = Capture distance [2] = Point name variable [3] = Auto inferencing/constraint flag [4] = Show csys/datum/arrows flag [5] = Character size [6] = Decimal places [7] = Extension lines [8] = Dimension label
  • snapAngle (float) – Snap angle.
  • capDist (float) – Capture distance.
  • ptName (str) – Point name variable.
  • autoFlag (list of int) – Auto inferencing/constraint flag (1= Off; 2= On): [0] = Auto inferencing [1] = Auto constraint
  • showFlag (list of int) – Show csys / datum / arrows flag (1= Off; 2= On) [0] = CSYS [1] = Datum [2] = Arrows
  • charSize (float) – Character size.
  • decPlaces (int) – Decimal places.
  • extLines (int) – Extension lines:1 = Both 2 = Line1 3 = Line2 4 = None
  • dimLabel (int) – Dimension label:1 = Value 2 = Expression 3 = Name

License requirements: SOLIDS MODELING or DRAFTING