• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor

    Reply
    Valued Contributor
    Posts: 59
    Registered: ‎03-02-2006

    How to remove iproperty mass unit string from Mass value in a text string...

    564 Views, 3 Replies
    10-03-2011 05:50 AM

    I've been looking for a solution to remove the unit string ie Lbs, g, kg from the value given from a 'Mass' value in a text string.

     

    As you may all know, creating text and having a 'physical property - mass' value...the unit string is there...

    Lots of people on here have the problem...no-one has got a solution.

     

    Until now...

     

    Basically...open the part you need to get the mass property of in your text string.

     

    Follow the instructions on this webpage...this is the first part...

     

    http://inventorbetter.blogspot.com/2010/10/customizing-iproperties-in-inventor.html

     

    Basically, this creates a Mass property value in the parameters table that you can call on as a text parameter.

    It's similar to the custom iproperty model - mass but NOT the same.

     

    Once you have done this, you can go to the drawing of the part and create a text string in the drawing and call it up as shown in this procedure. BUT it still has the unit string.

     

    Here's the best bit that you want to know...

    To get RID of the unit string...open up the part again from the drawing...click on the parameter icon...find the user parameter...in the Nominal value column, right click on the value and you get a pop-up that gives you 3 options...

    Custom Property Format, Make Multi Value & Delete Parameter.

    Click on Custom Property Format.

    The pop-up window comes up...showing you the property type...in my case...the 4 left columns read Text, g (grams), Format & Precision...

    On the right hand side I have a Preview of the text...then 3 check boxes...Units string, Leading Zero's, Trailing Zero's.

    Units string is checked.

    Uncheck it.

    Close it...Save your part...go back to the drawing and hey presto!...the text now shows the weight you require as a straight value...no units!

     

    Hope this helps you all

     

    Gary

     

    Please use plain text.
    New Member
    MarkDooley
    Posts: 1
    Registered: ‎04-11-2011

    Re: How to remove iproperty mass unit string from Mass value in a text string...

    04-27-2012 09:01 AM in reply to: knowga

    The link you posted to look at for set up has been removed.  Do you have another link or the text instructions that go with the link??

    Please use plain text.
    Distinguished Contributor
    Posts: 110
    Registered: ‎06-20-2006

    Re: How to remove iproperty mass unit string from Mass value in a text string...

    04-28-2012 12:38 PM in reply to: MarkDooley

    Try this link:

     

    http://blogs.rand.com/manufacturing/2011/07/inventor-ilogic-mass-to-custom-iproperties.html

     

    I think that's what you're looking for.

    Jim Strenk

    Inventor 2012 Certified Associate
    AutoCAD 2012 Certified Associate

    Product Design Suite Ultimate 2012 & 2013

    Other than THAT, Mrs. Lincoln, how was the play??
    Illinois: Where we send more Govenors to prison, than on to retirement!
    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎10-08-2012

    Re: How to remove iproperty mass unit string from Mass value in a text string...

    12-20-2012 11:41 PM in reply to: JimStrenk

    hi jim,
    can you help me how to dellete existing custom properties?
    i only can add, or change the value. but cannot delete or renaming the custom property.

    Please use plain text.