Embedding Block Definitions, Layers, and Styles of References

Use the -EmbedDrawing command to embed Block definitions, Layers, and styles of referenced drawings in a drawing.

The command incorporates dependent object definitions (Block definitions, Layers, LineStyle definitions, TextStyles, and DimensionStyles) into the host drawing with unique names that start with a reference_name$n$ prefix, where reference_name is the name of the Reference and n is a number starting at 0.

For example, the Block door2 of the Reference house1 changes to house1$0$door2 in the host drawing. If the same name already exists, the number is changed incrementally, for example, house1$1$door2.

Note: The -InsertReference command merges dependent object definitions into the drawing without adding prefixes.

For more information on dependent object definitions, see Referencing Files - Basics > Dependent symbol names.

To embed Block definitions, Layers, and styles of References:

  1. Type -EmbedDrawing at the command prompt.
  2. Specify a category: Block, DimensionStyle, Layer, LineStyle, or TextStyle.
    • If you use the Block option, any Block definition, Layer, DimensionStyle, LineStyle definition, or TextStyle that is referenced by entities in the Block are also embedded. If the Block contains a Reference, all dependent object definitions of the Reference are also embedded.
    • If you use the Layer option, LineStyles other than Continuous associated to the Layer are also embedded.
  3. Type the name of the item.

    You must specify the full name including the Reference name and the vertical bar ( | ) before the item name (for example, "house1|door2").

    The dependent object definition is added to the drawing.

    Note: You can specify multiple items, separated by commas.

Access

Command: -EmbedDrawing