Altium Designer Documentation

TogglePrimitiveLock

Created: June 21, 2017 | Updated: August 1, 2018

Parent page: PCB Commands

The following pre-packaged resource, derived from this base command, is available:


Applied Parameters: ContextObject=Arc,Pad,Via,Track,Text,Fill,Connection,Component,Poly,Region,ComponentBody,Dimension,Coordinate

Summary

This command is used to toggle the state of the Locked property for the object under the cursor. The following objects are supported by this command (i.e. have a Locked property): 3D Body, Arc, Component, Coordinate, Dimension (all types), Pad, Polygon Pour, Region, String, Track, Via.

Access

This command is accessed from the PCB Editor by right-clicking over a placed (and supported) object then choosing the <ItemType> Locked command from the context menu.

Use

After launching the command, the object under the cursor will either have its Locked property enabled or disabled depending on its prior state.

Tips

  1. If attempting to graphically modify an object that has its Locked property enabled, a dialog will appear asking for confirmation to proceed with the edit. If the Protect Locked Objects option is enabled on the PCB Editor – General page of the Preferences dialog and the Locked option for that design object is enabled as well, that object cannot be selected or graphically edited. Double-click on the locked object directly and disable the Locked property (through the Properties panel) or run this command again to toggle the Locked property off. Alternatively, disable the Protect Locked Objects option to graphically edit the object.
  2. When the object under the cursor is already locked, the command entry on the menu will display a tick icon to the left.

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: