CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3140 

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, underlays, plot configurations, data links.

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/Plotconfig/Datalink/Underlay/unResolved/Settings/All] < All>: All  
 
XREFS:  
C:\Users\JSmith\Documents\B1-level.dwg  
 
IMAGES:  
C:\Users\JSmith\Documents\CompanyLogo.png  
 
FONTS:  
C:\Users\JSmith\appdata\roaming\autodesk\autocad 2011\r18.1\enu\support\ltype.shx  
C:\Windows\FONTS\arial.ttf  
 
PLOTCONFIGS:  
C:\Users\JSmith\appdata\roaming\autodesk\autocad 2011\r18.1\enu\plotters\MyPlot.pc3  
 
DATALINKS:  
C:\Users\JSmith\Documents\test\test-table.dxe  
C:\Users\JSmith\Documents\test\my-blocks.dxe  
 
UNDERLAYS:  
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}  
C:\Users\JSmith\Documents\BIM-data.nwd  
 

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

ACADDWG
100% *  CAD 
8.9.2010    8770x  
Comments   Tell a friend
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 WS 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

Emboss/engrave text on an Inventor 3D part. « | » Editing wall cleanup "in place" causes error in AutoCAD Architecture.

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   



Featuring:
Export 3D VRML scenes from AutoCAD and Inventor 2015
VRMLout More info


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