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

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    3373×  
Comments   Tell a friend
applies to: Inventor ·

See also:
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?
Tip 9788:How to import named workpoints from Excel to Inventor?
Tip 9556:VBA not working - failed to initialize properly.
Tip 9320:Export of Inventor 3D sketch coordinates to Excel.

Back   All CAD Tips All CAD tips&tricks

How to delete (reset) a variable set by SETENV? « | » Import error: No point file format match found

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   

Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin 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.