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: 8150
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  
Next  
MsgBox Refs, vbInformation, "Reference list"  
 
End Sub  
Inventor
100% *  CAD 
31.5.2012    5660×  
Prices - CAD eShop:
applies to: Inventor ·

See also:
Tip 12828:How to quickly delete 3rd party links to external objects in Inventor?
Tip 12815:How to fill iProperties into Inventor files from Excel?
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.


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:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools 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