CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 3746 

CAD tip CAD tip # 7549:

Question CAD 
 %  platform  category 
Q - question

DEPENDS - displaying file dependencies in a DWG drawing.

A - answer A specific DWG drawing file does not neccessarily carry all the information required to display end further edit the drawing contents. The drawing often depends also on a number of other, external files - the typical example are xrefs, but it may be also images, fonts, underlays, plot configurations, data links, point clouds, BIM models, etc.

Another problem may be in the relatively referenced external files - on a different computer, they may resolve to a wrong referenced file (in another path).

That's why it is important to have all information about external references from the given DWG drawing. The free utility CADstudio Depends displays a list of references including full paths which they are currently loaded from - i.e. where they were found (resolved) in the current AutoCAD session. The add-on application Depends can display either the individual types of external links separately, or all links (references) at once. You can choose (see the option Settings) between the short name or the full path of the external files.

A separate option unResolved can list xrefs which were not found.

Besides displaying the results, the application also fills the LISP variables _DEPENDLIST (a list) and _DEPENDSTRING (a string), which you can use for processing the results in your own macros, or for copying the result text:
(princ _DEPENDSTRING)(prin1)
or for inserting the overview of external references as a text into your drawing - you can use this variable in a text field (see FIELD > Lisp variable > _dependstring).

A sample output from the DEPENDS utility:

Command: depends  
List dependencies of type  
[Xref/Image/Font/Weblight/Material/Plotconfig/Datalink/Underlay/sHeetset/unResolved/Settings/All] < All>: All  
C:\Users\JSmith\appdata\roaming\autodesk\autocad 2011\r18.1\enu\support\ltype.shx  



C:\Users\JSmith\appdata\roaming\autodesk\autocad 2011\r18.1\enu\plotters\MyPlot.pc3  
C:\Users\JSmith\Documents\FactoryMap.dgn {Model}  
C:\Users\JSmith\Documents\OldStatus.pdf {1}  
C:\Users\JSmith\Documents\FinalReport.pdf {2}  
C:\Users\JSmith\Documents\Surveyor1.dwf {Model}  

You can download the DEPENDS utility from, load it using APPLOAD and run it with the Depends command.

100% *  CAD 
8.9.2010    12185×  
Prices - CAD eShop:
applies to: AutoCAD · DWG ·

See also:
Tip 9331:What is contextual field and why it is not updated in a block?
Tip 9299:What is the xref status "Unreferenced"?
Tip 8192:Missing fonts in AutoCAD 360 drawing.
Tip 7494:How to replace an internal block with an external reference?
Tip 7233:Two icon types for attaching DWG xrefs in AutoCAD.

Back   All CAD Tips All CAD tips&tricks

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.