More About Px Layers

You can use Px Layers to help with graphic design work in the Px Editor view. Px Layers allow you to group objects in the Px Editor view by assigning them to a common layer.

The following list describes some of the things you can do with layers.

  • Select all objects assigned to a layer

    You can select all objects in a layer by selecting the desired layer in the Px Layers palette. This saves you from having to individually select each item in the layer. When objects are selected using the Px Layers palette, most Px Editor edit actions work the same way as if you had selected the objects individually. For example, when you right-click on a layer in the Px Layers palette, choosing the Rename or Remove popup menu items renames or deletes the selected layer (not the objects). However, the Cut, Copy, Paste, Duplicate, and Delete (and other) menu items perform actions on the selected objects, not the layer.

    Figure 1. Selecting a layer


  • Lock objects assigned to a layer

    You can lock all layer objects by selecting the Locked option in the Px Layers palette Status column. Locked objects display normally but you cannot select them on the Px Editor canvas (you can still select them in the Widget Tree). This is convenient for working with stacked or overlapping objects.

    Note: Locked object property values cannot be edited and display with a gray background in the Properties palette.
  • Hide objects assigned to a layer

    You can hide all layer objects by selecting the Invisible value in the Px Layers palette Status column. When objects are invisible you cannot select them on the Px Editor canvas but you can still see and select them in the Widget Tree.

    Note: Hidden object property values cannot be edited and display with a gray background in the Properties palette.

Px Layers work using a Px file markup convention that adds a <layer> element to the Px file to define each new layer and a <LayerTag> element to each object that is assigned to the layer. Normally, you work with Px layers directly in the Px Editor canvas as described in Using Px layers.