CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 1731 
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 8661:

Question CAD 
 %  platform  category 
Q - question

Overview of files referenced from an Inventor drawing.

A - answer To quickly display a list of files referenced from an Inventor drawing, you can use the following simple VBA macro. Insert the "RefList" macro into your Inventor VBA Editor (Tools > Options > VBA Editor) and run it with Alt+F8.

Sub RefList()  
Dim oDoc As Document  
Dim Refs As String  
Refs = ""  
Set oDoc = ThisApplication.ActiveDocument  
For i = 1 To oDoc.AllReferencedDocuments.Count  
Refs = Refs & oDoc.AllReferencedDocuments.Item(i).FullDocumentName & vbCrLf  
MsgBox Refs, vbInformation, "Reference list"  
End Sub  
100% *  CAD 
31.5.2012    4019×  
applies to: Inventor ·

See also:
Tip 12520:How to set Inventor Display style and Lighting style from an iLogic macro?
Tip 12392:Export unfolds of sheetmetal parts to DXF - parameters for iLogic and VBA
Tip 12136:Security settings for Inventor data files and add-on applications.
Tip 10266:How to change the iProperty "Standard" for parts from Content Center?
Tip 9935:How to distinguish between an assembly and weldment in VBA or iLogic?

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 BIM add-on functions for Autodesk Revit
CADstudio Revit 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.