Working with a Text Frame Object on a Schematic Sheet in Altium Designer
Parent page: Schematic Objects
Summary
A text frame is a non-electrical drawing primitive. It is used to define an area on a schematic to contain textual information. The frame is a resizable rectangular area that can contain multiple lines of text and can automatically wrap and clip text to keep it within the bounds of the frame.
Availability
Text frames are available for placement in both Schematic and Schematic Library Editors, by:
- Choosing Place » Text Frame from the main menus.
- Clicking the button on the Utility Tools drop-down () of the Utilities toolbar.
Placement
After launching the command, the cursor will change to a cross-hair and you will enter text frame placement mode. Placement is made by performing the following sequence of actions:
- Position the cursor and click or press Enter to anchor the first corner of the text frame.
- Move the cursor to adjust the size of the text frame and click or press Enter to complete placement.
- Continue placing further text frames, or right-click or press Esc to exit placement mode.
Additional actions that can be performed during placement – while the text frame is still floating on the cursor, and before its first corner is anchored – are:
- Press the Tab key to access an associated properties dialog, from where properties for the text frame can be changed on-the-fly.
- Press the Alt key to constrain the direction of movement to the horizontal or vertical axis, depending on the initial direction of movement.
- Press the Spacebar to rotate the text frame anti-clockwise or Shift+Spacebar for clockwise rotation. Rotation is in steps of 90°.
- Press the X or Y keys to mirror the text frame along the X-axis or Y-axis respectively.
Graphical Editing
This method of editing allows you to select a placed text frame object directly in the workspace and change its size, shape or location, graphically.
When a text frame object is selected, the following editing handles are available:
- Click and drag A to resize the text frame in the vertical and horizontal directions simultaneously.
- Click and drag B to resize the text frame in the vertical and horizontal directions separately.
- Click anywhere on the text frame – away from editing handles – and drag to reposition it. While dragging, the text frame can be rotated (Spacebar/Shift+Spacebar) or mirrored (X or Y keys to mirror along the X-axis or Y-axis respectively).
The textual content of a text frame can be edited in-place by:
- Single-clicking the text frame to select it.
- Single-clicking again (or pressing the Enter key) to enter the in-place editing mode. Sufficient time between each click should be given to ensure the software does not interpret the two single-clicks as one double-click (which would open the text frame's properties dialog).
- To finish editing in-place text, either click away from the text frame or press the green tick button (). If you decide the change made is not needed, press the red cross button () to discard the change.
Non-Graphical Editing
The following methods of non-graphical editing are available:
Via an Associated Properties Dialog
Dialog page: Text Frame
This method of editing uses the Text Frame dialog to modify the properties of a text frame object.
The Text Frame dialog can be accessed prior to entering placement mode, from the Schematic – Default Primitives page of the Preferences dialog. This allows the default properties for the text frame object to be changed, which will be applied when placing subsequent text frames.
During placement, the dialog can be accessed by pressing the Tab key.
After placement, the dialog can be accessed in one of the following ways:
- Double-clicking on the placed text frame object.
- Placing the cursor over the text frame object, right-clicking and choosing Properties from the context menu.
- Using the Edit » Change command and clicking once over the placed text frame object.
Clicking the Change button associated to the Text field will give access to the TextFrame Text dialog, from where you can enter the text for the frame as required.
Wrapping and Clipping Text
In addition to providing a Word Wrap option, the main Text Frame dialog provides a Clip to Area option. This option comes into play if word wrapping is disabled. With this option enabled, text will be kept within the bounds of the frame. When disabled, text will spill out of the frame onto the schematic sheet.
Specifying Text Margins
Specify a single value to apply equally to Left, Top, Right and Bottom margins for the current frame, using the Text margin property in the Text Frame dialog.
When editing text in-situ, directly within the text frame (as opposed to using the TextFrame Text dialog), the defined margins are not present. They will be reapplied after editing is complete and the text changes applied.
Via an Inspector Panel
Panel pages: SCH Inspector, SCHLIB Inspector, SCH Filter, SCHLIB Filter
An Inspector panel enables the designer to interrogate and edit the properties of one or more design objects in the active document. Used in conjunction with appropriate filtering - by using the applicable Filter panel, or the Find Similar Objects dialog - the panel can be used to make changes to multiple objects of the same kind, from one convenient location.
Via a List Panel
Panel pages: SCH List, SCHLIB List, SCH Filter, SCHLIB Filter
A List panel allows the designer to display design objects from one or more documents in tabular format, enabling quick inspection and modification of object attributes. Used in conjunction with appropriate filtering - by using the applicable Filter panel, or the Find Similar Objects dialog - it enables the display of just those objects falling under the scope of the active filter – allowing the designer to target and edit multiple design objects with greater accuracy and efficiency.
Tips
- While text frames can be rotated or mirrored along the X or Y axis, this has no effect on the orientation of the text within.
- For simple one line text annotations, consider using the Text String object.