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:
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