Working with Text Objects on a Schematic in Altium Designer

Applies to Altium Designer version: 24

Text objects are non-electrical primitives that can be used to add additional information to a schematic, place user notes, layout a schematic template, etc. These text objects can be placed as user-defined text on a schematic sheet or act as placeholders for design or system information – so called special strings.

Text Strings, Text Frames, and Notes

Altium Designer supports text strings, text frames, and notes.

Placed text string, text frame, and note (in its expanded and collapsed modes).
Placed text string, text frame, and note (in its expanded and collapsed modes).

Text Object Description
Text String A single line of free text that can be placed on a schematic sheet. Uses might include section headings, revision history, timing information,or some other descriptive or instructive text. Available for placement in both the Schematic and Schematic Symbol editors.
Text Frame Used to define an area on a schematic to contain textual information. The frame is a re-sizeable 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. Available for placement in both the Schematic and Schematic Symbol editors.
Note

Used to add informational or instructional text to a specific area within a schematic similar to that of commenting a program's source code. The note 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 note. Unlike from a text frame, a note can be displayed in either expanded or collapsed modes. Available for placement in the Schematic Symbol editor.

Note that for Workspace projects, Altium Designer supports a document commenting system to enhance the design collaboration process. Refer to the Document Commenting page to learn more.

Placing a Text Object

Text strings, text frames, and notes are available for placement by using the Place » Text String, Place » Text Frame, and Place » Note commands of the corresponding editor's main menus, respectively.

After launching the command, the cursor will change to a cross-hair and you will enter text object placement mode.

  • For the text string, it will appear floating on the cursor. Position the object then click or press Enter to effect placement.
  • For the text frame or note, position the cursor and click or press Enter to anchor the first corner of the object. Move the cursor to adjust the size of the object, then click or press Enter to complete placement.

Continue placing further text objects or right-click or press Esc to exit placement mode.

Additional actions that can be performed during placement while the text object is still floating on the cursor (and, for a text frame or note, before its first corner is anchored) are:

  • 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 object counterclockwise or Shift+Spacebar for clockwise rotation. Rotation is in increments of 90°.
  • Press the X or Y keys to mirror the text object along the X-axis or Y-axis.
While text frames and notes can be rotated or mirrored along the X or Y axis, this has no effect on the orientation of the text within.

Toggling the Display Mode of a Note

A placed note can be displayed in either expanded (fully expanded) or collapsed (small triangle) modes. Toggle the display mode by clicking on the top left corner of a placed note.

Click the triangle in the top-left corner to collapse a note.
Click the triangle in the top-left corner to collapse a note.

When a note is in collapsed mode, hover the cursor over it to access a pop-up containing the name of the note's author and the actual text content of the note.

Hover over a collapsed note to display information.
Hover over a collapsed note to display information.

Graphical Editing of Text Objects

When a text object is selected in the design space, you can change its location and orientation graphically. For a text frame and note (when fully expanded), you can also graphically change its size or shape using the available editing handles.

Selected text objects
Selected text objects

  • Click anywhere inside the dashed box (for a text frame or note, away from editing handles) and drag to reposition the text object as required. While dragging, the text object can be rotated (Spacebar/Shift+Spacebar) or mirrored (X or Y keys to mirror along the X-axis or Y-axis).
  • Click and drag A to resize the text frame / note in the vertical and horizontal directions simultaneously.
  • Click and drag B to resize the text frame / note in the vertical and horizontal directions separately.

The textual content of a text string, text frame or note (fully expanded) can be edited in-place, which enables you to edit text entries directly in the design space rather than having to edit through the Properties panel – refer to the Schematic Placement & Editing Techniques page to learn more. Note that if the Word Wrap option is disabled in the Properties panel for the selected text frame / note, a horizontal scroll bar will also be available when editing the text in place – show image.

Refer to the Schematic Placement & Editing Techniques page to learn more about object placement and editing commonality.

Properties of Text Objects

Schematic text objects have a range of configuration options. Open the Properties panel for one or more selected text objects to edit their properties. 

Property Applies To Objects Description

Location

(X/Y)

Text String

Text Frame

Note

The current X (horizontal) and Y (vertical) coordinates of the object's reference point relative to the current design space origin.
Rotation Text String Use the drop-down to select the rotation.

Properties

Text

Text string

Text frame

Note

Enter the desired text.

  • To add a new line of text to a text frame or note, use Ctrl+EnterShift+Enter, or Alt+Enter.
  • Special strings and formulas are supported. Special strings and formulas are delineated by opening with the "=" character and closing with a space character. For a text string object, a special string can be selected from the drop-down. Learn more about special strings.
  • Component designators and net names can function as Active Links in a text frame or note, precede the designator or net name with the @ symbol to invoke linking mode, then select the required designator/net object. Learn more about Active Links.
URL Text string The URL for the text string, if desired. Learn more about hyperlink text strings.
Word Wrap

Text frame

Note

Enable this option to have text contained within the text object area automatically wrap to fit the width of the object.
Clip to Area

Text frame

Note

This option comes into play if word wrapping is disabled. Enable this option to have text only appear within the area of the text object. If the text is too long to fit entirely within the object, then the complete contents of the text box will not be shown. The text will be clipped so that it fits neatly within the object area. If this option is disabled, all text contained in the object will be displayed. If the text is too long to fit within the object, then the text will "spill" out of the object area – show example of word wrapping and the effect of clipping.

Font

Text string

Text frame

Note

Use the controls to select the desired font, font size, color, and attributes to bold, italicize, etc., if desired.
Justification Text string Select the justification by clicking on an arrow that corresponds with the desired justification or the circle (to center).
Alignment

Text frame

Note

Click the desired alignment setting.
Text Margin

Text frame

Note

Specify a single value to apply equally to left, top, right, and bottom margins for the selected text object – show example text frame with a text margin setting of 100 mil.

  • To benefit from the text margin functionality within the area of the object's frame, ensure that the Clip to Area option is enabled. Ideally, the Word Wrap option should also be enabled.
  • Negative margins are also possible by using the minus prefix (-).
  • When editing text in place (as opposed to using the Properties panel), the defined margins are not present. They will be reapplied after editing is complete and the text changes are applied. Show image.
Width

Text frame

Note

Enter the desired width.
Height

Text frame

Note

Enter the desired height.
Border

Text frame

Note

Use the drop-down to select the default from the available choices: Smallest, Small, Medium, and Large. Click on the color box to access a drop-down from which you can select the default color. The border cannot be hidden on a note object, but can on the text frame object.
Fill Color

Text frame

Note

Check to enable fills. Click on the color box to access a drop-down from which you can select the default fill color. Fill cannot be disabled for a note object, but it can be disabled for the text frame object.
Author Note Enter the desired author. The author is shown when the cursor hovers over the collapsed note.
Collapsed Note Enable to collapse the note. The note can also be collapsed/expanded directly in the design space by clicking on the top left corner of the placed note.

Special Strings

While text objects can be used to place user-defined text on a schematic sheet, it is not just user-defined text that can be placed. To assist in producing documentation, the concept of "special strings" is used. These act as placeholders for design or system information that is to be displayed on the schematic at the time of output generation.

Default sets of predefined special strings are provided for use with new schematic documents. You also can add your own custom special strings by defining additional parameters at the document level (for use on current schematic only) or project-level (available for use across all schematic sheets and PCB documents in the project). Parameters can also be added to a variant in the Edit Project Variant dialog.

Parameters have a hierarchy, which means you can create a parameter with the same name at different levels of the project, each having different values. Altium Designer resolves this in the following way:

  1. Variant (highest priority)
  2. Schematic document
  3. Project

This means that the parameter value defined in the schematic document overrides the value defined in the project options, and the value defined in the variant overrides the value defined in the schematic document. Note that schematic-level parameters are not available on the PCB or in the BOM. For these types of output, you should use project or variant parameters.

Parameters can also be added to a Sheet Symbol object. If parameters with the same name are created at different levels of the project, including the Sheet Symbol placed on the parent schematic sheet, this situation will be resolved on the child schematic in the following way:

  1. Variant (highest priority)
  2. Schematic document
  3. Sheet Symbol
  4. Project

To see the value of the parameter of the sheet symbol above, select a compiled tab at the bottom of the design space.

Learn more about Multi-sheet & Hierarchical Designs

Placing a Special String

To use a special string on a schematic, place a text object and include a special string name in its text.

On a schematic sheet, special strings are characterized by the prefix '=' (e.g., =CurrentTime, =CurrentDate, etc.). The list of available special strings – both predefined and user-defined document-level and project-level parameters – can be seen when a Text String is selected, by clicking the drop-down arrow associated with the Text field in the Text mode of the Properties panel.

Parameters defined at the variant level are not listed. Such a parameter can be referenced using the special string notation (i.e. =<VariantParameterName>). The value of the parameter will be displayed only when the associated variant for which it is defined is made the current variant.

Accessing special strings for a placed text string object.
Accessing special strings for a placed text string object.

To assist in identifying Text String objects that are using special strings, the names of the special string can be shown on the schematic sheet. When the Display Name of Special String option is enabled on the Schematic – Graphical Editing page of the Preferences dialog, each special string has its name displayed as a faint superscript (note that these superscripts will not be printed).

Concatenating Special Strings

Multiple special strings, along with regular text (fixed strings), can be concatenated into a single text string, according to the following rules:

Element Function Example Returns
= (equals) Indicates that the following string is an expression that must be interpreted. =Project Kame_FMU for the example project named Kame_FMU.PrjPcb
+ (plus) Used to concatenate the special string and fixed string elements required in the string. =Project + VariantName Kame_FMUDefault for the Default variant in the example project
' ' (single quotes) Used to include a fixed string anywhere within the required string. ='Project: ' + Project + ', Variant: ' + VariantName Project: Kame_FMU, Variant: Default  for the Default variant in the example project

Special strings can be concatenated with text and other special strings.Special strings can be concatenated with text and other special strings.

Truncating Special Strings

Special strings can also be truncated using the Copy() and Length() functions. The example below shows how to remove the file extension from a schematic document:

Special String Behavior Result when Placed on the Document
Bluetooth_Sentinel.SchDoc 
=DocumentName Returns the document's filename, including the file extension. Bluetooth_Sentinel.SchDoc
=Copy(DocumentName,1,length(DocumentName)-7) Return the string DocumentName, from the first character, for a length of DocumentName characters - 7 (truncate the last 7 characters) Bluetooth_Sentinel

Active Links from Designators and Net Names

Component designators and net names can be included in Text Frames and Notes and function as Active Links, providing cross-probing capabilities within the schematic and also in generated PDFs. 

The link is defined as active in the Properties region of the Text Frame or Note in the Properties dialog, by typing the @ character followed by the Designator or Net name. A selection list will appear as you type, use it to select the desired object. 

Type the @ character to display a list of designators and net names, continue to type to search the list.Type the @ character to display a list of designators and net names, continue to type to search the list.

Active Links are highlighted by a box in the Text Frame or Note, click to cross probe to that component or net. Changes to a Designator value or a Net name are automatically applied to existing Active Links.

Each live link is highlighted by a box, click on a link to cross probe to that component or net.Each live link is highlighted by a box, click on a link to cross probe to that component or net.

The Zoom and Dimming levels used when you click on a link in the schematic editor are configured in the System - Navigation page of the Preferences dialog.

The Zoom level used in the PDF is defined in the Schematic PDF Settings dialog (PDF from an OutputJob), or the Smart PDF Wizard. 

Hyperlink Text Strings

A text string can be turned into a hyperlink to a website page, or to a document on a local or shared drive by entering a target URL into the URL field in the selected Text String object's Properties panel. This offers a fast, convenient alternative when providing access to datasheets for components used in a design. Such text strings can also provide a beneficial link to your own organization's website, within the title blocks of your schematic source documents.

Once a URL has been configured as required, it can be used from within the design space. To do so, hover the cursor over the text string. After a short delay, a pop-up with the URL will appear. Click this to open the URL either within Altium Designer or in an external browser, in accordance with your defined preference.

The target URL will open either as a tabbed document inside Altium Designer, or in an external browser, depending on the state of the option to Open internet links in external Web browser. This option can be found on the System – View page of the Preferences dialog.
  • When configuring the hyperlink, you don't need to enter the full URL with http:// prefix. Entering the short-form address for a website will also work, for example, www.altium.com. However, the http:// prefix is required if you want to open the URL in an external browser.
  • When targeting a local document on your hard drive or a shared drive, use the prefix file:/// – for example file:///C:\Datasheets\ExampleDatasheet.pdf.
  • You can also use a URL targeting a document on your file server (e.g., \\myserver\share\manual.pdf) but note that such links are not currently supported in a PDF generated from the schematic, either using the Smart PDF Wizard or an OutputJob file. You can map the file server into a network drive and then use the absolute path. In this case, your teammates should also map the network drive with the same drive letter so they can use these URLs in generated PDF documents.

Following an example hyperlink to its target URL.
Following an example hyperlink to its target URL.

The pop-up containing the URL is a feature of the software's Design Insight System. Specifically, it is obtained by enabling the Hyperlink Insight aspect of the system. This is done on the System – Design Insight page of the Preferences dialog. As with other elements of the system, you can configure the launch style for the pop-up – Mouse Hover and/or Alt+Double Click.

The delay for the appearance of the pop-up when using the Mouse Hover launch style can be controlled using the Mouse Hover Delay slider. Bear in mind that this affects the pop-ups for all aspects of the insight system.

Alternatively, a link can be followed by right-clicking over it and accessing the URL from the Hyperlink sub-menu. This would be the way to follow a link if Hyperlink Insight is disabled.

Access the URL for a text string from the right-click menu.
Access the URL for a text string from the right-click menu.

注記

利用できる機能は、Altium Designer ソフトウェア サブスクリプション のレベルによって異なります。

Content