Locking and Unlocking a Parameter        

This task explains how to lock and unlock parameters: 2 new commands are now available in the Knowledge toolbar: the Lock selected parameters... and the Unlock selected parameters... commands.
  1. Open the KwrLockingUnlockingParameters.CATPart file.

  2. Expand the Parameters node and click the f1 parameter.

  3. In the Knowledge toolbar, click the Lock selected parameters... icon () to lock this parameter. The parameter is locked (a lock is displayed next to the parameter in the specification tree.)

  4. To unlock the parameter, select the f1 parameter in the specification tree and click the Unlock selected parameters... icon () in the Knowledge toolbar.

Note that:
  • The Lock selected parameters... and Unlock selected parameters... commands enable the multiselection of parameters or features.

  • The parameter contextual menu can be used to lock or unlock the parameter.
  • The Lock selected parameters... and Unlock selected parameters... commands are recursive: If you select a feature, the parameters located below this feature are locked or unlocked.
  • Parameters that do not have a 3D representation can be locked and unlocked.
    • Open the Formulas Editor to access the parameter.
    • Select the parameter from the Parameters list
    • Right-click the Edit name or value of the current parameter value field, and select Lock/Unlock.
  • Constraints can be locked and unlocked.
    • Select the constraint in the specification tree and click the Lock selected parameters...
      ()/Unlock selected parameters () icon, or
    • Right-click the constraint in the specification tree and select Lock the parameter/Unlock the parameter.
A lock is displayed next to the constraint in the Sketcher. Locked constraints display in orange.