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

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  
Next  
MsgBox Refs, vbInformation, "Reference list"  
 
End Sub  
Inventor
100% *  CAD 
31.5.2012    1479x  
Comments   Tell a friend
applies to: Inventor ·

See also:
Tip 8767:How to change all partslist cells to non-static?
Tip 8441:How to temporarily hide dimensions in a sketch?
Tip 8347:Creating an interference solid from conflicting Inventor parts.
Tip 8271:Always print Inventor drawings with updated Mass values.
Tip 8267:How to create a ribbon icon for a custom macro.


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   



Featuring:
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.
TOPlist