Macros are reusable schematic sections which can contain devices / functions. Copied or cut schematic elements can also contain devices / functions. Devices / functions that you insert into the schematic pages in this way can be automatically numbered on insertion. A DT is determined and automatically assigned online for every device / function that you insert. The counter for DT is incremented by one in the process.
Note:
Only the device groups that you have selected in the online numbering format are numbered.
Preconditions:
- You have opened a project.
- You have opened a schematic page.
- You have access to a macro, or you have copied a schematic section containing devices / functions to the clipboard.
Specify numbering behavior before insertion
- Options > Settings > Projects > "Project name" > Devices > Numbering (online)
- In the On insertion of macros and copies group box, select the Number option.
- If you want to create or edit an online numbering format, click [...] next to the Numbering format field.
The Numbering formats dialog opens. Here you can define an Online numbering format. Click [OK]. - If you want to use an existing online numbering format, select an online numbering format from the Numbering format drop-down list in the On insertion of macros and copies group box.
- Click [OK].
- To insert your copy into the schematic page from the clipboard, select the menu items Edit > Insert.
- To insert a macro, select the menu items Insert > Window macro / symbol macro, select a macro from the dialog that opens, and click [Open].
The copy / macro hangs on the cursor. - Move the cursor to the desired location on the schematic page.
- Click the page to place the copy / macro.
The device / function is automatically numbered. - Select the menu items Edit > Cancel action.
Specify numbering behavior on insertion
If you activate the numbering behavior prompt in the global settings, you can specify a different numbering behavior for devices in macros or copies at each insertion.
- Options > Settings > Projects > "Project name" > Devices > Numbering (online)
- In the On insertion of macros and copies group box, select the With prompt option and click [OK].
- To insert your copy into the schematic page from the clipboard, select the menu items Edit > Insert.
- To insert a macro, select the menu items Insert > Window macro / symbol macro, select a macro from the dialog that opens, and click [Open].
The copy / macro hangs on the cursor. - Move the cursor to the desired location on the schematic page.
- Click the page to place the copy / macro.
The Insertion mode dialog opens. - Select the Number option.
- If you want to create or edit an online numbering format, click [...] next to the Numbering format field.
The Numbering formats dialog opens. Here you can define an Online numbering format. Click [OK]. - If you want to use an existing online numbering format, select an online numbering format from the Numbering format drop-down list in the Insertion mode dialog.
- Click [OK].
The device / function is automatically numbered. - Select the menu items Edit > Cancel action.
See also
Specifying Online Numbering Format
Setting Preceding Signs in Displayed DT