Hide Table of Contents

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:

  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



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Embedding Block Definitions, Layers, and Styles of References
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: 2022 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.