Drawing sheet's block editor

In the Drawing sheet editor, you can use the Block tools to add DWG blocks to the drawing sheet. When you add or open a block, the block editor toolbar appears. Closing the block editor restores the standard drawing sheet editor toolbar.

Using the block editor tools, you can customize the block's contents by inserting lines, rectangles, static or dynamic text, and 2D symbols. Dynamic text allows you to include DWG block attributes in the drawings, with their values automatically retrieved from CADMATIC document attributes.

You need to add a block with dynamic text to include a title box (title block) in P&ID sheets.

Block editor window

Insert

Insert group

On the Block Editor tab, the Insert group includes the following tools.

Line | Rectangle | Text | Dynamic text | Symbol | Barcode

Line

Line button

You can insert lines that consist of one or more straight line segments and have the properties described in Line Properties.

By default, the line being inserted gets its properties from the currently selected Property Defaults. You can override these project defaults by making session-specific adjustments via Modify > Properties > Line/Rectangle properties. You can also adjust the properties of individual lines, both during and after the insertion.

You can modify existing line objects also using the generic Modify tools.

Insert line | Apply line properties

Insert line

You can insert lines into the block.

Line example

Do the following:

  1. Select Block Editor tab > Insert group > Line > Insert line.

  2. Pick the starting point of the line.

    Tip: You can now change the line's properties by selecting Properties from the context menu.

  3. Navigate to the next intended point for the line and pick that point. You can add as many points as needed and change the direction of the line at any point.

    Tip: To draw horizontal or vertical lines, enable the Ortho (F8) option.

  4. When you have added the last point, press Enter to complete the line.

Apply line properties

You can apply predefined Line Properties to existing lines.

Do the following:

  1. Select Block Editor tab > Insert group > Line > Apply line properties.

  2. Select one or more lines from the block and press Enter. The Select Line Properties to Apply dialog opens.

  3. All properties are selected by default; change the selections if appropriate.

  4. To review or edit the properties before applying them, click Edit Properties.

  5. Click OK.

Rectangle

Rectangle button

You can draw rectangles that have the properties described in Line Properties.

By default, the rectangle being inserted gets its default properties from the currently selected Property Defaults. You can override these defaults by making session-specific adjustments via Modify > Properties > Line/Rectangle properties. You can also adjust the properties of individual rectangles, both during and after the insertion.

You can modify existing rectangles also using the generic Modify tools.

Insert | Apply properties

Insert

You can insert rectangles into the block.

Insert rectangle example

Do the following:

  1. Select Block Editor tab > Insert group > Rectangle > Insert.

  2. Pick the first corner of the rectangle.

  3. You can now change the rectangle's line properties by selecting Properties from the context menu.

  4. Pick the opposite corner point to complete the rectangle.

Apply properties

You can apply predefined Line Properties to existing rectangles.

Do the following:

  1. Select Block Editor tab > Insert group > Rectangle > Apply properties.

  2. Select one or more rectangles from the block and press Enter. The Select Line Properties to Apply dialog opens.

  3. All properties are selected by default; change the selections if appropriate.

  4. To review or edit the properties before applying them, click Edit Properties.

  5. Click OK.

Text

Text button

You can insert static multi-line text strings that have the properties described in Text Properties.

By default, the text being inserted gets its properties from the currently selected Property Defaults. You can override these defaults by making session-specific adjustments via Modify > Properties > Text properties. You can also adjust the properties of individual texts, both during and after the insertion.

You can modify existing texts also using the generic Modify tools.

Insert | Apply properties

Insert

You can insert texts into the block.

Do the following:

  1. Select Block Editor tab > Insert group > Text > Insert.

  2. Pick the location where to add the text. The Edit Text dialog opens.

  3. In the text pane, type the text to be inserted. If you need to insert special characters, use the Insert Special Character tool or paste a Unicode character from the clipboard, but be aware that not all fonts support all special characters.

  4. You can specify the text's appearance by using predefined text properties or formatting the text manually.

    • You can pick all the properties from an existing text. To do this, click Pick Properties From Existing Text, pick the source text and press Enter.

    • You can select a predefined style from the Text style field and click Apply to Properties Below to apply the style to the text.

    • You can edit any of the text's properties manually.

  5. You can move the text by clicking Move Text and picking the new location.

    Tip: While moving the text, you can rotate the text at 90° increments. Press the + (plus) key for counter-clockwise rotation and the = (equal) key for clockwise rotation, or select the respective command from the context menu.

  6. Click OK.

  7. Press Enter to insert another text.

Apply properties

You can apply predefined Text Properties to existing texts.

Do the following:

  1. Select Block Editor tab > Insert group > Text > Apply properties.

  2. Select one or more texts from the block and press Enter. The Select Text Properties to Apply dialog opens.

  3. Select which properties to apply to the texts.

    • Style – Select this option to set the target text's Text style field to the value defined in Text Properties. This does not immediately apply the style to the target text; you can apply the style later by opening the target text's properties and clicking Apply to Properties Below.

    • Layer – Select this option to set the target text's Layer field to the value defined in Text Properties.

    • Color – Select this option to set the target text's Color field to the value defined in Text Properties.

    • Height – Select this option to set the target text's Height field to the value defined in Text Properties.

    • Other Properties – This button opens a list of all the properties that can be applied to the target text. Select the ones to be applied, and click OK.

  4. To review or edit the properties before applying them, click Edit Properties.

  5. Click OK.

Dynamic text

Dynamic text button

You can insert text that updates dynamically into the block, provided that the documents using this drawing sheet contain the necessary attributes to populate the dynamic text. P&I diagrams can use dynamic text for title box information.

Insert dynamic text | Manage dynamic texts

Insert dynamic text

You can insert dynamic text into the block.

Do the following:

  1. Select Block Editor tab > Insert group > Dynamic text > Insert dynamic text.

  2. Pick the origin point for the text. The Edit Dynamic Text dialog opens.

  3. Specify the dynamic text properties described in Edit Dynamic Text as well as the normal Text Properties that define the text's appearance.

  4. Click OK.

Manage dynamic texts

You can manage the dynamic texts of the block you are editing.

Do the following:

  1. Select Block Editor tab > Insert group > Dynamic text > Manage dynamic texts. The Manage Dynamic Texts dialog opens, listing the dynamic texts of this block.

  2. Select what to do:

    • To create a new dynamic text, click Create and follow the steps outlined in Insert dynamic text.

    • To edit the selected dynamic text, click Edit and modify the properties described in Edit Dynamic Text and Text Properties.

    • To delete the selected dynamic text, click Delete.

  3. Click OK.

Edit Dynamic Text

The Edit Dynamic Text dialog includes the following settings.

Setting

Description

Identifier

Specify a unique string (1–3 characters) to identify the dynamic text within the drawing sheet. By default, this string will also be used as the name of the DWG block attribute during drawing export, unless a different attribute name is specified.

Use different attribute name in DWG export

Select this option to define a specific DWG block attribute name for the dynamic text during drawing export. If this is not specified, the value of the Identifier field will be used.

Placeholder content

You can use this function to evaluate how the dynamic text will look on the document page. Enter a text string that represents the kinds of values the dynamic text will usually display.

Note: If no data requests are defined, the placeholder string itself will appear in the drawings.

Has data requests

Select this option and click Define to open the Data Request Definition dialog and define the data requests that will update the dynamic text.

Editable field in sheet

Select this option to allow manual editing of the dynamically generated text through the Edit fields of sheet command of the document editor or the Edit title box function of P&I diagrams.

Description

Optionally, enter a description to be shown in the Manage Dynamic Texts dialog. You can use the Insert Special Character tool to insert special characters into the description.

After defining the dynamic text settings above, you can adjust the text's appearance by copying Text Properties from another text or by clicking Show Properties to define them manually.

Data Request Definition

In the Data Request Definition dialog, you can define the data requests that will update the dynamic text when the drawing sheet is used in a drawing.

Do the following:

  1. Create the required data requests as follows.

    1. In the Data requests section, click Create.

    2. In the Selected request section, define the request using the appropriate Quantity definitions and their units of measure.

      • Tag – Find or type the tag of the attribute whose value to retrieve into the column.

      • Quantity – Select the quantity type of the value.

      • Format – Specify how to format the retrieved value, if applicable.

  2. In the Definition format field, ensure that each data request is represented with a formatting code that specifies how to present the retrieved values.

    You can insert the caret ^ character between formatting codes to split the values into separate rows. For example, if you have three data requests that retrieve nominal sizes 1–3, you may use something like "NS1-%s NS2-%s NS3-%s" to put them all in the same row or "NS1-%s^NS2-%s^NS3-%s" to split them into three rows.

Symbol

Symbol button

You can insert 2D symbols that have the properties described in Symbol Properties.

By default, the symbol being inserted gets its properties from the currently selected Property Defaults. You can override these defaults by making session-specific adjustments via Modify > Properties > Symbol properties. You can also adjust the properties of individual symbols, both during and after the insertion.

You can modify existing symbols also using the generic Modify tools.

Insert | Apply properties

Insert

You can insert 2D symbols into the block.

Do the following:

  1. Select Block Editor tab > Insert group > Symbol > Insert. The Select 2D Symbol to Insert object browser dialog opens.

  2. Select the symbol to insert and click OK.

  3. If the 2D symbol script defines multiple symbols, a secondary dialog opens. Click the name of the required symbol.

  4. If the symbol requires parameters, the Symbol parameters dialog opens. Enter the required parameters and click OK.

  5. Move the symbol to the intended location. While moving the symbol, you can right-click the view to open the context menu which allows you to rotate the symbol or access the symbol properties.

  6. Pick the origin point where to add the symbol.

  7. Press Enter to insert another symbol.

Apply properties

You can apply predefined Symbol Properties to existing 2D symbols.

Do the following:

  1. Select Block Editor tab > Insert group > Symbol > Apply properties.

  2. Select the symbols to which to apply the properties and press Enter. The Select Symbol Properties to Apply dialog opens.

  3. All properties are selected by default; change the selections if appropriate.

  4. To review or edit the properties before applying them, click Edit Properties.

  5. Click OK.

Barcode

Barcode button

You can insert and modify 2D barcodes in the active block. These barcodes can be read, for example, with a barcode scanner or phone camera.

You can modify existing barcodes also using the generic Modify tools, except their type and content can only be modified with the 'edit content' barcode tool.

Note: Barcodes within drawing sheets are of higher quality and are also embedded into DWG files. In contrast, barcodes inserted directly into drawings may not be as clear, especially when scaled to a very small size, and in DWG export they become referenced image files that must travel with the document.

Insert | Edit content | Rescale | Move | Delete

Insert

You can insert barcodes into the block.

Do the following:

  1. Select Block Editor tab > Insert group > Barcode > Insert. The Define Content dialog opens.

  2. Specify the barcode settings.

    • Type – Select the barcode type.

    • Content type – Select how to create the barcode.

      • Data request – Select this option to generate the content with a Data Request Definition.

      • Text string – Select this option to specify the content in the Content field.

    • Content – Enter the text string to include in the barcode.

  3. Click OK.

Edit content

You can change the barcode type, content type, and edit the content of barcodes in the block.

Do the following:

  1. In the Block Editor tab > Insert group, select Barcode > Edit content.

  2. Select the barcode to edit. The Define Content dialog opens.

  3. Make the required changes, and click OK.

Rescale

You can rescale barcodes in the block.

Do the following:

  1. Select Block Editor tab > Insert group > Barcode > Rescale.

  2. Select the barcodes to rescale and press Enter.

  3. Pick the base point for the rescaling. The Rescale Objects in a Set dialog opens.

  4. Enter the scaling value, and click OK.

Move

You can move barcodes to a different location in the block.

Do the following:

  1. Select Block Editor tab > Insert group > Barcode > Move.

  2. Select the barcodes to move and press Enter.

  3. Pick the base point for the move.

  4. Pick the new location for the base point. You can move the barcodes incrementally by picking a new target point as many times as necessary.

  5. Press Enter to confirm the move.

Delete

You can delete barcodes from the block.

Do the following:

  1. Select Block Editor tab > Insert group > Barcode > Delete.

  2. Select the barcodes to delete and press Enter.

Modify

Modify group

On the Block Editor tab, the Modify group includes the following tools.

Edit | Delete | Move | Rotate | Copy | Scale | Offset | Mirror | Trim | Extend | Align | Properties | Clipboard

Edit

Edit button

You can modify an object in the block.

Do the following:

  1. Select Block Editor tab > Modify group > Edit. The cursor displays as a crosshair.

  2. Select the object to edit.

  3. Edit the object.

    1. If you picked a line or rectangle, its line points are displayed.

      You can click and drag or use the additional tools to customize the object.

    2. If you picked text, the Edit Text dialog opens, displaying the properties that were defined when inserting the Text. Modify the properties as required.

    3. If you picked dynamic text, the Edit Dynamic Text dialog opens. Modify the properties as required.

    4. If you picked a 2D symbol, its origin point is displayed.

      You can click near the origin point to start moving the symbol, or you can use the additional tools to customize the object.

  4. Press Enter to accept the modified object.

    The cursor turns into a cross-hair again to indicate that you can pick another object for editing.

  5. Press Enter or Esc to stop editing objects.

Delete

Delete button

You can delete objects from the block.

Do the following:

  1. Select Block Editor tab > Modify group > Delete.

  2. Select the objects to delete, and press Enter.

  3. Press Enter again to delete another set of objects.

Move

Move button

You can move objects to a different location within the block.

Do the following:

  1. Select Block Editor tab > Modify group > Move.

  2. Select the objects to move, and press Enter.

  3. Pick the base point and a second point. This defines the direction and the offset and moves the objects.

  4. You can pick another point, as many times as needed, to move the objects incrementally.

  5. Press Enter to complete the move operation.

  6. Press Enter again to move another set of objects.

Rotate

Rotate button

You can rotate objects in the block around the specified base point.

Do the following:

  1. Select Block Editor tab > Modify group > Rotate.

  2. Select the objects to rotate, and press Enter.

  3. Pick the base point for the rotation. The Rotate Objects dialog opens.

  4. Enter the rotation angle. Alternatively, click Measure to measure the angle using two base points and directions. Then click OK.

  5. Press Enter to rotate another set of objects.

Copy

Copy button

You can copy objects in the block. The copies are created in a given direction, with the same amount of offset between the copies.

Do the following:

  1. Select Block Editor tab > Modify group > Copy.

  2. Select the objects to copy, and press Enter.

  3. Pick the base point and a second point. This defines the direction and the offset for the copying, and the Make Copies of Objects in a Set dialog opens.

  4. Enter the number of copies to create, and click OK.

  5. Press Enter to copy another set of objects.

Scale

Scale button

You can scale objects in the block.

Note: You cannot use this command on dynamic text.

Do the following:

  1. Select Block Editor tab > Modify group > Scale.

  2. Select the objects to rescale, and press Enter.

  3. Pick the base point for the rescaling. The Rescale Objects in a Set dialog opens.

  4. Enter the scaling factor to use and click OK.

Offset

Offset button

You can copy an existing line or rectangle object in the block so that the new object is inserted at a user-defined offset on either side of the original object. For example, if the original object is a rectangle, you can use this command to insert a smaller rectangle inside or a larger rectangle outside the original object.

Do the following:

  1. Select Block Editor tab > Modify group > Offset. The Offset distance dialog opens.

  2. Specify the distance from the original object to the new object, and click OK.

  3. Select the object to copy.

  4. Move the cursor to that side of the original object where you want the new object to be placed, and click to accept the insertion.

Mirror

Mirror button

You can mirror objects in the block. You can choose whether to keep the original objects after the mirroring.

Note: You cannot use this command on dynamic text.

Do the following:

  1. Select Block Editor tab > Modify group > Mirror.

  2. Select the objects to mirror, and press Enter.

  3. Define the mirror line by picking the first point (the line rotates around this point) and the second point.

  4. You are prompted whether to keep the source objects. Select Yes to keep them or No to delete them.

Trim

Trim button

You can remove a part of a line in the block, up to the point where it intersects with another straight line or a rectangle.

Do the following:

  1. Select Block Editor tab > Modify group > Trim.

  2. Select the line to trim.

  3. Select the part to remove from the line.

Extend

Extend button

You can extend the end of a line in the block to the boundary of another straight line or a rectangle.

Do the following:

  1. Select Block Editor tab > Modify group > Extend.

  2. Select the line to extend.

  3. Move the cursor in the direction you want the line to extend, and click to accept the insertion.

Align

Align button

You can align the top, bottom, left or right sides of objects in the block.

Do the following:

  1. Select Block Editor tab > Modify group > Align and then the side to align.

  2. Select the objects to align, and press Enter.

    The object that is farthest in the given direction stays where it is, and the other objects in the set are aligned with it.

Properties

Properties button

The Properties drop-down menu contains tools for temporarily changing the default properties of the insertion tools and for changing the properties of existing objects.

Current properties | Objects in a set | Set properties in a set

Current properties

The Insert commands use the Annotation Property Defaults settings currently selected in the Property Defaults field when inserting new text or applying default properties to existing text. You can override the project defaults of the following entities in the current editing session:

  • Line/rectangle

  • Text

  • Symbol

That is, changing these properties via the Properties drop-down menu will make them the new defaults in the current editing session. The original default values will be restored when you close the drawing sheet's block editor.

For more information on the different properties, see Annotation Properties.

Objects in a set

In the Properties menu, the Objects in a set section contains tools for changing the properties of several objects at the same time.

Apply properties

You can apply the current default properties to a set of objects. The default properties can be:

  • The default properties in Annotation Property Defaults.

  • The default properties of this editing session. That is, if you have modified the properties as described in Current properties, then those settings are used as the default properties until you close the block editor.

Do the following:

  1. Select Block Editor tab > Modify group > Properties > Apply properties.

  2. Select the objects whose properties to change and press Enter.

    The relevant properties are applied to the specified objects.

Set properties in a set

In the Properties menu, the Set properties in a set section contains tools for setting a specific layer, color, or lineweight to several objects at the same time, regardless of their object type.

Set properties in a set

Do the following:

  1. Select Block Editor tab > Modify group > Properties and then Layer, Color, or Lineweight.

  2. Select the objects to include in the set, and press Enter. A dialog opens for selecting the new value.

  3. Select the property value to assign and click OK.

Clipboard

You can copy 2D drafting objects to the clipboard and then paste them to a sheet or block.

Copy to clipboard | Paste

Copy to clipboard

You can copy 2D drafting objects to the clipboard.

Note: You cannot copy dynamic text or barcodes to the clipboard.

Do the following:

  1. Select Home tab > Modify group > Clipboard > Copy to clipboard.

  2. Select the objects to copy, and press Enter.

  3. Pick the base point to use when pasting the objects and press Enter.

Paste

You can paste 2D drafting objects from the clipboard.

Do the following:

  1. Select Home tab > Modify group > Clipboard > Paste.

  2. Move the cursor to the intended location of the pasted object, using the base point you defined when copying the objects, and pick that location.

Settings

Settings group

On the Block Editor tab, the Settings group includes the following setting.

Property Defaults

Property Defaults

Select Annotation Property Defaults for the elements in this block, either from the menu or using the object browser.

Manage

Manage group

On the Block Editor tab, the Manage group includes the following tools.

Save | Close

Save

Save button

Select Block Editor tab > Manage group > Save to save the block locally.

Close

Close button

Select Block Editor tab > Manage group > Save to close the block editor and display the Drawing sheet editor.