Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to "put" CONFIG "name" into Value / Text Expression

Status
Not open for further replies.

jacek0841

Mechanical
Aug 31, 2005
227
This is probably very easy for the pros of this forum, but not for me, so please explain like for a dummy:


Configuration Specific: This Configuration (150)

Property Name |Type |Value / Text Expression |Evaluated Val
------------------|------|----------------------------|-------------
Frank |Text | | is 150 cm

Configuration Specific: This Configuration (160)

Property Name |Type |Value / Text Expression |Evaluated Val
------------------|------|----------------------------|-------------
Frank |Text | | is 160 cm



Solid Model has two configurations: 150 and 160


Question 1: Is it possible, and if so how, to write "something" into Value / Text Epression that I would get the Evaluated Values on the dwgs as shown ?
 
Replies continue below

Recommended for you

Use a design table. Within a design table, you can use excel functionality to control the data in the cells.

Example: the length of extrude1 is 150 cm. That dimension is listed in the design table. You then have a custom property called length. The length cell will be set equal to the cell that contains the value of extrude1. You will also set the config name cell equal to the value of extrude1.

With this method you could quickly create hundreds of configs all with different lengths and all the properties would update accordingly.

Do a search here for design table and also in the SW help. You will find enough information to get yourself started.

-Shaggy
 
The simplest way is to create the 2 configs manually, then create a DT using the Auto-create function.
Once you have that, you will see how the DT is populated & will be able to add other configs very easily by copying from the original configs.
To make life even simpler, you should rename the driving dimensions to something recognizable (Overall Length, Recess Depth, etc) so that the fields in the DT make more sense. (rather than D1@Sketch1)

[cheers]
Helpful SW websites every user should be aware of faq559-520
How to get answers to your SW questions faq559-1091
 
If you want to put this in a BOM, make a property in your part/assembly named "Length". Set the value to

Code:
is $PRP:"SW-Configuration Name" c.m.
and make a column on your BOM named length to match.

That is for config names. If you want to link it to a property named length that updates when you change the length: for your value enter "is", double-click a dimension, then add "c.m." at the end (no quotation marks on that one. It would look something like is "D1@Sketch1@@1@1933-03P.SLDPRT" cm. Then make a column for Length in the BOM.

Flores
SW 2005 SP 4.0



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor