CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6374
Place your Ad on CADforum.cz

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  
 
XREFS:  
C:\Users\JSmith\Documents\B1-level.dwg  
 
IMAGES:  
C:\Users\JSmith\Documents\CompanyLogo.png  
 
FONTS+SHAPES:  
C:\Users\JSmith\appdata\roaming\autodesk\autocad 2011\r18.1\enu\support\ltype.shx  
C:\Windows\FONTS\arial.ttf  

WEBLIGHTS:
-none-

MATERIAL IMAGES:
-none-

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  
C:\Users\JSmith\Documents\Points.rcp
 

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

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

See also:
Tip 14310:Easy graphical display of the project or assembly file structure (hidden function).
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?


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   



Featuring:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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.
TOPlist