Global variable in a design table
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Global variable in a design table

 
Post new topic   Reply to topic    CADForums.net Forum Index -> SolidWorks
Author Message
Brian
Guest





Posted: Wed Jan 05, 2005 2:01 am    Post subject: Global variable in a design table Reply with quote

Can a global variable be used in a design table? I am trying to set up
a design table for a set of cylinder pistons. The normal way to call
out the piston would be by the Bore of the cylinder it is in. The
actual OD of the piston would be .019" smaller. I have the part set up
with a global variable "Bore" = 5, then the dimension on the piston is
Bore-.019
Thanks,
Brian

Back to top
Wayne Tiffany
Guest





Posted: Wed Jan 05, 2005 2:34 am    Post subject: Re: Global variable in a design table Reply with quote

Sure. Easiest way is to have a Bore cell in the table that holds the value.
Then the piston OD math is done in its own cell, referencing the Bore cell.

WT

"Brian" <bputnam@rugbymfg.com> wrote in message
news:1104872512.095366.241170@z14g2000cwz.googlegroups.com...
Quote:
Can a global variable be used in a design table? I am trying to set up
a design table for a set of cylinder pistons. The normal way to call
out the piston would be by the Bore of the cylinder it is in. The
actual OD of the piston would be .019" smaller. I have the part set up
with a global variable "Bore" = 5, then the dimension on the piston is
Bore-.019
Thanks,
Brian
Back to top
Brian
Guest





Posted: Wed Jan 05, 2005 2:45 am    Post subject: Re: Global variable in a design table Reply with quote

I've tried that, but I get an error that says "column heading "Bore"
contains an invalid feature name "Bore. Exiting desing table without
completing model update."

Back to top
Brian
Guest





Posted: Wed Jan 05, 2005 2:55 am    Post subject: Re: Global variable in a design table Reply with quote

I'm talking to myself now. Put an empty column between the dimension
columns and the "Bore" column.
Back to top
Dale Dunn
Guest





Posted: Wed Jan 05, 2005 3:31 am    Post subject: Re: Global variable in a design table Reply with quote

Or Give it the header "$comment".
Back to top
P.
Guest





Posted: Wed Jan 05, 2005 2:14 pm    Post subject: Re: Global variable in a design table Reply with quote

Of course you can't put the Bore cell in the same row as the other
parameters, at least not in that form. You have several alternatives.
Assuming you also want Bore in the custom properties you can put it
there and reference it with a $PRP@Bore. You can also put $CUSTOM in
the row for parameter names and then put Bore in the first row of the
Design Table. Using the first row of a Design Table for human readable
labels is very handy, especially when using the Design Table as a chart
in a drawing. In that case hide the rows you don't want.

Wayne Tiffany wrote:
Quote:
Sure. Easiest way is to have a Bore cell in the table that holds the
value.
Then the piston OD math is done in its own cell, referencing the Bore
cell.

WT

"Brian" <bputnam@rugbymfg.com> wrote in message
news:1104872512.095366.241170@z14g2000cwz.googlegroups.com...
Can a global variable be used in a design table? I am trying to
set up
a design table for a set of cylinder pistons. The normal way to
call
out the piston would be by the Bore of the cylinder it is in. The
actual OD of the piston would be .019" smaller. I have the part
set up
with a global variable "Bore" = 5, then the dimension on the piston
is
Bore-.019
Thanks,
Brian
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> SolidWorks All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB