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

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    12327×  
Prices - CAD eShop:
applies to: Inventor ·

See also:
Tip 13884:How to send e-mails with an iLogic macro?
Tip 13211:Automatic numbering/renaming of multi-volume bodies in a part.
Tip 13197:How to transfer a model or sketch parameter to iProperties?
Tip 12815:How to fill iProperties into Inventor files from Excel?
Tip 12451:How to fill a material or appearance name into part's iProperties?

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

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