AutoCAD Mechanical General

Reply
Contributor
Posts: 21
Registered: ‎08-13-2003
Message 1 of 4 (170 Views)

Expression Builder - Value Replace

170 Views, 3 Replies
03-24-2011 08:19 AM

I have a property of UNIT_WT with a Text value of 36,000.  I can not get a new property with the coma removed for the 36,000. How would you use the Expression Builder to replace or remove the , ? I tried everything I know!

Employee
Posts: 1,094
Registered: ‎12-18-2006
Message 2 of 4 (162 Views)

Re: Expression Builder - Value Replace

03-24-2011 07:42 PM in reply to: brian.wolfenberger

Hi,

To better understand the issue, can you please attach the sample drawing file?

 

Thanks,

 



Sridhar Subramani
Autodesk, Inc.
Contributor
Posts: 21
Registered: ‎08-13-2003
Message 3 of 4 (155 Views)

Re: Expression Builder - Value Replace

03-25-2011 06:19 AM in reply to: Sridhar-Autodesk

What I would like to do is remove the , in UNIT WEIGHT and Convert it to KG in the KG WEIGHT.

Employee
Posts: 1,094
Registered: ‎12-18-2006
Message 4 of 4 (148 Views)

Re: Expression Builder - Value Replace

03-27-2011 09:00 PM in reply to: brian.wolfenberger

Hi, Brian
Find attached drawing.  UNIT WEIGHT property's "Data Type" in the BOM settings dialog was set to "Text" type.  So when you enter 56,000 ; it will accept the comma as well.
I have set Data Type to Numeric Type and the comma is removed which now shows the value as 56000.  KG WEIGHT is also converted into 56000.

Let me know if this is what expected?

 

Thanks



Sridhar Subramani
Autodesk, Inc.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community