BindReferences Method


Description

Binds any Xrefs in the named drawing to make them a permanent part of the drawing and no longer externally referenced files. Binding Xrefs to a drawing is also an easy way to send a drawing to reviewers. Rather than sending a master drawing plus each of the drawings it references, you can use the BindReferenecs method to merge the Xrefs into the master drawing. The DWG file is saved back as the same DWG file version as the original file. 


A log file is generated if a LogIdentifier is provided, no log file is created if the LogIdentifier is 'Nothing'. Please see Log Files for more information.


The specified object must be in a Checked Out state.


If no DWG file with the specified Drawing Name exists, then an error is raised.


NOTE: You cannot bind Xrefs that contain proxy objects. You cannot bind Image or PDF references. Please see ’Known Issues and Limitations' for details.