CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.084.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Place your Ad on CADforum.cz

CAD tip CAD tip # 7042:

Question

CAD 
 %  platform  category 
A
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 Download
Inv2014Inv2012Inv2011Inv2010
100% *CAD
6.11.2009    21720×  

See also:
Tip 14359:Automatic macro execution when opening a CAD file (AutoCAD, Inventor, Max, PowerMill)
Tip 13611:BOM with multi-line items in Inventor.
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?


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
  



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist