CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 6944

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 Download, load it using APPLOAD and run it with the Depends command.

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

See also:
Tip 13868:XrefStamp - create a dynamic list of xrefs in your DWG drawing.
Tip 13227:Reference Explorer - quick analysis of your project or assembly (file size, xref errors).
Tip 12977:Easily find CAD/BIM document references (including missing ones) - Reference Explorer
Tip 9331:What is contextual field and why it is not updated in a block?
Tip 9299:What is the xref status "Unreferenced"?

Back   All CAD Tips

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   

Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info

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