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

CAD tip CAD tip # 10266:

Question CAD 
 %  platform  category 
Q - question

How to change the iProperty "Standard" for parts from Content Center?

A - answer The property called "Standard" is a standard iProperty. But it is not accessible through the Properties dialog. If you need to edit it directly, you can use the following VBA macro:
Sub SetStandard()
    Dim oProp As Inventor.Property
    Set oProp = ThisApplication.ActiveDocument.PropertySets("{32853F0F-3444-11D1-9E93-0060B03C1CA6}")("Standard")
    oProp.Value = InputBox("Enter the value of the new standard", , oProp.Value)
End Sub

Copy this code to your Inventor VBA project and run the macro. A window with the current value of the Standard of the active document will be displayed; overwrite it and click OK to update the value in the document.

100% *  CAD 
31.3.2015    4341×  
Comments   Tell a friend
applies to: Inventor ·

See also:
Tip 9952:iLogic rule - check whether iProperties are overridden.
Tip 9477:Saving a DWG copy of an IDW drawing named by revision number.
Tip 9340:Using iLogic to parse IPT filename and populate iProperties.
Tip 8986:Material density as a custom iProperty in Inventor.
Tip 8271:Always print Inventor drawings with updated Mass values.

Back   All CAD Tips All CAD tips&tricks

How to restore erased hatch boundaries? (multiple) « | » Digital signature of CAD files in the DWFx format.

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