CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1987 
Plex.Earth connects AutoCAD and Google Earth

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.

Inventor
100% *  CAD 
31.3.2015    5186×  
applies to: Inventor ·

See also:
Tip 12451:How to fill a material or appearance name into part's iProperties?
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.


Back   All CAD Tips All CAD tips&tricks



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   



Featuring:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime 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.
TOPlist