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

CAD tip CAD tip # 7042:

Question CAD 
 %  platform  category 
Q - question

List of inspection dimensions in the Inventor drawing.

A - answer If you need a list (table) of inspection dimensions from your Inventor 2010-2016 drawing, you can export it using the ListInspection macro.

The ListInspection macro will make a list of all inspection dimensions in the current Inventor drawing (IDW/DWG), including tolerances. The precision of dimension values is the same as in the drawing. The list is exported to a TAB delimited file. Its file name is the same as the file name of your drawing with just the ".txt" extension added. Both metric and imperial dimensions are supported.

In the drawing environment use Alt+F11 to start the VBA editor. Use "File > Load project" to load the ListInspection.ivb file. Switch back to your Inventor drawing and press Alt+F8 to display macros. Pick ListInspection.Report and click the Run button.

You can drag the resulting TXT file to Excel.

The frame/shape codes are "No", "Ang" or "Rnd".

Sample output:

DimValue Toler-L Toler-H InspLabel                  Shape    Rate  Hole
3.235    -0.2    0.3     myLabel1                   Rnd      A1   
2.854    0       0       myLabel2                   Rnd	           H7
0.635    0       0       myDesc <StyleOverride Font='AIGDT'>m</StyleOverride>  Ang R
You can download ListInspection from
100% *  CAD 
6.11.2009    11679×  

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 10889:How to get user's full domain name, phone No., department, e-mail...
Tip 10266:How to change the iProperty "Standard" for parts from Content Center?

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   

Automatic nesting of 2D parts on rectangular sheets in AutoCAD
AutoNEST 2008 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.