Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get rid of units

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
271 Views, 4 Replies

How to get rid of units

Hi,

With MDT it is possible to derive component properties through manipulation
of the model parameters in the part-file with formulas in the BOM. For a
custom U-profile it would look like this:

BOM
Component
Formula
Property
----------------------------------------------------------------------------------
=IF(ISBLANK(PART:NAME),BLOCK:NAME,PART:NAME) W208
=U - xxx
U - 40x60x40x2
=
250
= 208
=Zie: .dxf
Zie: W208.dxf

These resulting properties finaly end up in a part list:

--------------------------------------------------------
| U - 40x60x40x2 | 250 | Zie: W208.dxf |
--------------------------------------------------------

With iProperty Expressions in IV2009 the best I can get in the partlist is:

-----------------------------------------------------------------
| U - 40 mmx60 mmx40 mmx2 mm | 250 mm | Zie: W208.dxf |
-----------------------------------------------------------------

How can I get rid of the units en their adjacent space character? How to
manipulate these strings? Any help would be fine.

h.rosbergenNOSP@Moctatube.nl
<< - omit capitals - >>
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

what version of Inventor are you using? With 2009 you can set custom property formatting to omit units.
Message 3 of 5
Anonymous
in reply to: Anonymous

Please reveal where I can find that option?
wrote in message news:5912469@discussion.autodesk.com...
what version of Inventor are you using? With 2009 you can set custom
property formatting to omit units.
Message 4 of 5
Anonymous
in reply to: Anonymous

I don't know about thru customization, I couldn't find any API calls. But if you open your part in Inventor, go to the parameter table, then RMB on the Equation cell for a parameter that is exported, a menu will appear that has "Custom Property Format". Click the button and a custom property format dialog will appear, allowing you to control the format of the parameter.
Message 5 of 5
Anonymous
in reply to: Anonymous

For some reason it is well hidden, but it works for me.
Thanksalot

wrote in message news:5912505@discussion.autodesk.com...
I don't know about thru customization, I couldn't find any API calls. But
if you open your part in Inventor, go to the parameter table, then RMB on
the Equation cell for a parameter that is exported, a menu will appear that
has "Custom Property Format". Click the button and a custom property format
dialog will appear, allowing you to control the format of the parameter.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report