Re: Dimension Formula Error

N/A
Have you created a new (or renamed an existing) variable called "Length"?
If not, one does not exist by default. My guess is that the tutorial had
you create one named "Length" or it used a special file for the tutorial
that already had one with that name.
--
PellaKen
http://grundey.blogspot.com
"Marty Erkamp" wrote in message
news:473b7b33$1@bbsnotes.ugs.com...
>
> I am attempting to incorporate a formula to my dimensions, using the
> example given
> in the tutorial. I click on the dimension I wish to add a formula to,
> right-click
> on "Edit Formula" and then I type "Length" (without quotes) in the Formula
> field.
> But as soon as I hit enter, I get a message saying, "Error - Unknown
> variable name:
> Length". This worked perfectly when I went thru the tutorial, but now I
> get the
> same error message regardless of what I type in the formula field, or
> which dimension
> I attempt to add a formula to.
>
> What am I doing wrong?
>
>
>
>
> Marty E.


4 REPLIES

Dimension Formula Error

N/A

I am attempting to incorporate a formula to my dimensions, using the example given
in the tutorial. I click on the dimension I wish to add a formula to, right-click
on "Edit Formula" and then I type "Length" (without quotes) in the Formula field.
But as soon as I hit enter, I get a message saying, "Error - Unknown variable name:
Length". This worked perfectly when I went thru the tutorial, but now I get the
same error message regardless of what I type in the formula field, or which dimension
I attempt to add a formula to.
What am I doing wrong?


Marty E.

Re: Dimension Formula Error

N/A

Ken - to my knowledge, no variable existed by that name in the drawing I was attempting
to add it to. Do I have to create the variable first, before I can use it in a
formula? If yes, how would I do that?
Thanks for your help.
"Ken Grundey" wrote:
>Have you created a new (or renamed an existing) variable called "Length"?
>
>If not, one does not exist by default. My guess is that the tutorial had
>
>you create one named "Length" or it used a special file for the tutorial
>that already had one with that name.
>
>--
>PellaKen
>http://grundey.blogspot.com
>"Marty Erkamp" wrote in message
>news:473b7b33$1@bbsnotes.ugs.com...
>>
>> I am attempting to incorporate a formula to my dimensions, using the
>> example given
>> in the tutorial. I click on the dimension I wish to add a formula to,
>> right-click
>> on "Edit Formula" and then I type "Length" (without quotes) in the Formula

>
>> field.
>> But as soon as I hit enter, I get a message saying, "Error - Unknown
>> variable name:
>> Length". This worked perfectly when I went thru the tutorial, but now I

>
>> get the
>> same error message regardless of what I type in the formula field, or
>> which dimension
>> I attempt to add a formula to.
>>
>> What am I doing wrong?
>>
>>
>>
>>
>> Marty E.

>
>
Marty E.

Re: Dimension Formula Error

N/A
A variable can either be a system generated one such as a dimension or a
user generated one. To create a user generated variable, click the Tools
menu and select Variables. A table opens and in a blank row enter in your
desired variable name and value.
--
Ken
http://grundey.blogspot.com
"Marty Erkamp" wrote in message
news:473b8504$1@bbsnotes.ugs.com...
>
> Ken - to my knowledge, no variable existed by that name in the drawing I
> was attempting
> to add it to. Do I have to create the variable first, before I can use it
> in a
> formula? If yes, how would I do that?
>
> Thanks for your help.
>
> "Ken Grundey" wrote:
>>Have you created a new (or renamed an existing) variable called "Length"?
>>
>>If not, one does not exist by default. My guess is that the tutorial had
>>
>>you create one named "Length" or it used a special file for the tutorial
>>that already had one with that name.
>>
>>--
>>PellaKen
>>http://grundey.blogspot.com
>>"Marty Erkamp" wrote in message
>>news:473b7b33$1@bbsnotes.ugs.com...
>>>
>>> I am attempting to incorporate a formula to my dimensions, using the
>>> example given
>>> in the tutorial. I click on the dimension I wish to add a formula to,
>>> right-click
>>> on "Edit Formula" and then I type "Length" (without quotes) in the
>>> Formula

>>
>>> field.
>>> But as soon as I hit enter, I get a message saying, "Error - Unknown
>>> variable name:
>>> Length". This worked perfectly when I went thru the tutorial, but now I

>>
>>> get the
>>> same error message regardless of what I type in the formula field, or
>>> which dimension
>>> I attempt to add a formula to.
>>>
>>> What am I doing wrong?
>>>
>>>
>>>
>>>
>>> Marty E.

>>
>>
>
> Marty E.

Re: Dimension Formula Error

N/A
Marty,
Here is some more information that may help you.
As ken stated a dimension is a variable. It sounds like you are wanting to
define one dimension as a function of another. To define a dimension as a
function of a length requires a variable (dimension) named "length". Most
likely you are refering to the dimension that is the length of the geometry.
You may rename any dimension. If you want to change the name of
dimension'V572' to 'Length' you can do this by opening the formula editor
for dimension 'V572' and changing the text in the Name field to 'Length'.
Now you may use the name 'Length' in the formula of another dimension.
By default all dimensions are given system generated variable names, such as
'V572'. You can see all the variable names of all the dimensions by Right
Mouse Click on any dimension and clicking on 'Show All Names'. Look at the
dimension that you want to define the formula relative to. This is the name
you must use in the formula. To change the display back to show the values,
Right Mouse Click on a dimension and click on 'Show All Values'.
For example: You want to define a dimension as a function of a dimension
named 'V572'. You would enter 'V572' in the formula field. Now the dimension
with the formula will be equal to the dimension named 'V572'. If you change
the value of dimension 'V572', the formula driven dimension will also
change.
You do not have to directly enter the name of the dimension in the formula
field. You can simply click on the dimension you want the name for when the
formula field is active. Clicking on the dimension will add the name of the
selected dimension in the formula. This makes it easy to create formulas
with multiple dimensions.
For Example: You could be defining a formula. Click on a dimension and it
adds the name of that dimension. Key in '+'. Click another dimension and it
adds the name of the that dimension. You now have a dimension defines ad a
formula of the sum of two other dimensions.
Instead of having to right mouse click on a dimension and clicking on a
dimension and clicking on 'Edit Formula', you can simply double left mouse
click on the diemnsion that you want to define a dimension. This will bring
up the formula editor.
I hope this helps.
Rick B.