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 Drawings - Basics > Dependent symbol names.
To embed Block definitions, Layers, and styles of References:
- Type -EmbedDrawing at the command prompt.
- 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.
- 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.
Command: -EmbedDrawing