Inventor: Formatting Parameters for Custom iProperties

We often have the need to use Inventor’s modeling parameters values as iProperty text for use as data in Parts Lists, Bill of Materials, Title Blocks, or any where else that iProperties may be needed.

Using the values as provided by default (ex 2.125 in or 9.000 in) is often acceptable. However, in many instances the format needs to maintain consistency with other values. For example, the removal the prefix “in” such that “2.125 in” reads as “2.125” or the trailing decimals for “9.000 in” reads as “9 in”.

For the first example, we will remove the trailing zeros and the “in” prefix from the text for decimal values. For the second example we will convert the decimal values to Fractions and switch the prefix from “in” to a single double quote (“) in the Description iProperty.

The Description iProperty is defined by using a formula that concatenates the custom iProperties into one string of text.  Using the function button, we can display the iProperty formula to expose the Custom iProperty parameters we need to format.

To format the parameters, launch the parameters table and then set the identified parameters to be Exported.

Hoover your mouse over the “Equation” field of one of the parameters to be exported, right mouse click and select “Custom Property Format” from the menu.

iProperty for Decimal:

After formatting the property for decimals format the iProperty formula as follows: 

=<X_WIDTH> X <X_WIDTH> X <EXT_LENGTH>

iProperty for Fractional:

After formatting the parameter to use fractions, format the iProperty formula to use the single double quote for inches (“)

=<X_WIDTH>" X <X_WIDTH>" X <EXT_LENGTH>"

 

 

 

 

 

 

 

About the Author

Hal Carruthers

Manufacturing Applications Expert<br><br>Hal has been working closely with clients since 1997 to develop and deliver integrated solutions utilizing Autodesk products including AutoCAD, AutoCAD Electrical, AutoCAD Mechanical, Inventor and Vault. His qualifications range from mechanical design engineering to pre-sales and post-sales consulting for the integration of mechanical software solutions. Hal has over 15 years of mechanical design experience in a variety of industry disciplines. He has worked as a Product Design Engineer to design, develop, fabricate and test new surgical instruments for use in Endoscopic and Open Surgery, specific applications for product use include: vessel ligation, wound closure, endoscopic instrumentation and specialty surgical devices. Hal has been awarded two U.S. Patents for medical devices he developed. Additionally during his tenure, Hal developed and maintained Engineering Documentation and CAD Standards and provided CAD product training and support for all users and new hires.

Follow on Linkedin More Content by Hal Carruthers
Previous Article
Storm and Sanitary Install fails with 15 Error or Civil 3D Deployment fails to install
Storm and Sanitary Install fails with 15 Error or Civil 3D Deployment fails to install

This problem is due to the novaPDF9SDK(x64).msi fails the Windows Verify Trust process (the certificate has...

Next Video
Utilities for Revit: Adjust Pipe
Utilities for Revit: Adjust Pipe

The Adjust Pipe tool provides a wide variety of ways to adjust pipes so that they will trim together approp...

Need tech support? Let us help!

Learn More