Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Variables Values into Text 1

Status
Not open for further replies.

m4rc

Mechanical
Jan 25, 2005
112
Hi,

I'm using 2D SEv18 and I've set up a base drawing that uses some variables. On the drawing boarder sheet I have callouts pointing to the various holes of the part.

My question is, can you link the text in the callout to show the value of a variable within the drawing, therefore removing another operation that needs to be changed across the range..?

eg, "...x M10 EQUI-SPACED ON {variable}P.C.D...." that reads
"...x M10 EQUI-SPACED ON 890 P.C.D...."


Thanks,

M
 
Replies continue below

Recommended for you

Hello M,

Callouts can be linked to properties and features of 3D parts when creating draft-files. I don't think they can be linked to a 2D drawing.

What you can do is to create a dimension and then add a prefix or suffix to that dimension.

Solid Edge V19 SP1 on WinXP SP2
 
Hi,

[]
"...x M10 EQUI-SPACED ON {variable}P.C.D...."
[]

that is possible. Draw your circle and dimension it. Then
get into the VariableTable and checkmark 'Expose' for
that variable which represents your circle specify a
name of your choice in column 'Exposed Name'. Now under
File --> File Properties --> Custom you will find that
variable which you can now use in a callout.
Say you have named it PCD then the Callout should read:

"...x M10 EQUI-SPACED ON %{PCD} P.C.D...."

and it will update when the dimension changes

dy
 
dy,

Thank you! That was very nearly spot on... The only problem I have is that in the Variable Table, the value is 810.000mm so it puts in '810.000mm'. I don't need the '.000mm', can I remove this?

Many thanks again dy,

M
 
Hi,

then write the text as follows "... %{PCD/@0} ...'
but be on your gard it now will *always* drop the fractionals!
To have more type /@n where n is number of fractionals to show

dy
 
/Edit

sorry, that does not work here. Even when the dimension itself
is changed to display no fractionals the variable will still
show them and the above sketched override will not work. It
will only work for values derived from a 3D-part :-(

dy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor