SetRefBindMode
Specifies how names derived from externally referenced drawings (References) are converted when bound to a host drawing.
Valid values are 0 (Off) for Bind mode and 1 (On) for Insert mode.
0 |
Bind mode transforms the referenced drawing to a Block in the drawing and incorporates dependent symbols such as Layers, LineStyle definitions, TextStyles, and DimensionStyles into the host drawing with unique names that start with a blockname$n$ prefix, where blockname is the name of the Reference and n is a number starting at 0. For example, the layer basement of the Reference changes to house$0$basement. If the same name already exists, the number is changed incremetally, for example, house$1$basement. The Bind option is the traditional behavior when binding References. |
1 |
Insert mode detaches the Reference and inserts the referenced drawing as Block (as if you used the
InsertBlock
command). In this case the entities newly attached in the drawing are placed on the existing Layers and a new Layer is created if it did not exist before in the host drawing. The same happens with LineStyles, TextStyles, etc. Named dependent symbol definitions are merged into the current drawing without adding prefixes. |
Type |
Integer |
Range |
0 | 1 |
Default |
0 |
Status |
Read / Write |
Saved |
Not saved |