List of Inventor pre-defined iProperty names Issue:In Inventor you can specify new custom iProperties by referring to existing Inventor properties. For example: =<Flat pattern area> =<Volume> =<Mass> Not all of these properties are exposed in the user interface. You want to know the list of all these hidden properties that exist in the current Inventor document. Solution:You can list the document properties by using a macro and follow this procedure Open an Inventor part. For example a sheet metal part of which you want to find out if it contains any special properties.Start the Visual Basic EditorSelect Module 1 of the current document or insert a new modulePaste following code in the module
Sub PropertyNameList() Dim oProp As Property, i As Integer, j As Integer For j = 3 To ThisApplication.ActiveDocument.PropertySets.Count For i = 1 To ThisApplication.ActiveDocument.PropertySets(j).Count Set oProp = ThisApplication.ActiveDocument.PropertySets(j).Item(i) Debug.Print oProp.Name Next Next End Sub
Run the codeThe properties will be listed in the Immediate windowPlease see attached image.
Give us your feedback on this document:
AUTODESK DOES NOT GUARANTEE THAT YOU WILL BE ABLE TO SUCCESSFULLY DOWNLOAD OR IMPLEMENT ANY SERVICE PACK OR WORKAROUND, OR ANY OF THE TIPS, TRICKS, EXAMPLES OR SUGGESTIONS OUTLINED IN ANY AUTODESK PRODUCT SUPPORT TECHNICAL DOCUMENTS. TECHNICAL DOCUMENTS, SERVICE PACKS AND WORKAROUNDS ARE SUBJECT TO CHANGE WITHOUT NOTICE TO YOU. AUTODESK PROVIDES TECHNICAL DOCUMENTS, SERVICE PACKS AND WORKAROUNDS "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL AUTODESK OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF DATA, OR LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, THAT MAY OCCUR AS A RESULT OF IMPLEMENTING ANY SERVICE PACK OR WORKAROUND, OR ANY SUGGESTION OUTLINED IN ANY AUTODESK PRODUCT SUPPORT TECHNICAL DOCUMENT, EVEN IF AUTODESK OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |