Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to force My_Value to be a number in Properties ?

Status
Not open for further replies.

jacek0841

Mechanical
Aug 31, 2005
227
When I try to have in Part Properties My_value as Number and try to assign to it say Volume (which after all, IS a number) I get an error message: "Invalid value entered for type Number" - the only thing it would let me have is Volume as Text.

Am I trying to do something impossible ?

SW2006 SP5.0
 
Replies continue below

Recommended for you

I'm really not sure what your issue is here. Why do you want it to be "Number"?
 
Why do you want it to be "Number"?

So I could use it later in the calculations/equations in "General Table" in the *.SLDDRW
 
SW Help said:
You can perform mathematical expressions with text strings if the custom property has a numerical value.

From "Equations in Tables"
 
You can perform mathematical expressions with text strings if the custom property has a numerical value.

Yeah, I read that - the problem is either it does not work for me or (more probably) I am doing something stupid ... :-( :-(
 
I think the problem is that general tables (from what I can tell) don't link to the part referenced by the drawing - just to the drawing. In order to have the general table display the volume of the part, I think you'll have to link the custom property "Volume" of the drawing to the volume of the part. To do this, edit the custom properties of your drawing and add a custom prop named "Volume," and type "Text." In the "Value/Text Expression" box, type "SW-Volume@Part1.SLDPRT". Of course, change "Part1" to whatever the name of your part is. Then "Volume" will be available as a custom property in the equation entry box for the general table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor