CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 7644:

Question

CAD 
 %  platform  category 
A
If you need to set the "Standard" for your custom parts in BOM, or add your own "standard" part to the Inventor Content Center, you may need to set or change its property "Standard" (Norm). While the standard iProperty dialog doesn't offer changing of this property, you can perform the change using the following simple VBA macro:
  
Sub SetStandard()  
  Dim oProp As Inventor.Property  
  Set oProp = ThisApplication.ActiveDocument.PropertySets _  
    ("{32853F0F-3444-11D1-9E93-0060B03C1CA6}")("Standard")  
  oProp.Value = InputBox("New value for Standard", , oProp.Value)  
End Sub  

Copy this macro (in the part environment) to the VBA code of the current document/part (Tools > Options > VBA Editor > DocumentProject > ThisDocument > View > Code (F7)) and run it with the arrow or with the F5 key.

Then include the iProperty "Standard" in you BOM (parts list).

Inventor
100% *CAD
13.11.2010    14561×  
applies to: Inventor ·

See also:
Tip 13611:BOM with multi-line items in Inventor.
Tip 4426:BOM in Inventor 10 sums values of similar parts.


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:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D 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