CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 4975

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    12378×  

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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.