Variables Values into Text
Variables Values into Text
(OP)
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
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





RE: Variables Values into Text
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
RE: Variables Values into Text
[]
"...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
RE: Variables Values into Text
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
RE: Variables Values into Text
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
RE: Variables Values into Text
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