How to get rid of units

How to get rid of units

Anonymous
Not applicable
308 Views
4 Replies
Message 1 of 5

How to get rid of units

Anonymous
Not applicable
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 - >>
0 Likes
309 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
what version of Inventor are you using? With 2009 you can set custom property formatting to omit units.
0 Likes
Message 3 of 5

Anonymous
Not applicable
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.
0 Likes
Message 4 of 5

Anonymous
Not applicable
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.
0 Likes
Message 5 of 5

Anonymous
Not applicable
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.
0 Likes