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

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    9768×  
Comments   Tell a friend

See also:
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?
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.

Back   All CAD Tips All CAD tips&tricks

Cannot install AutoCAD on a 64-bit version of Windows? « | » How to replace some of your blocks with a new block?

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 (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.