Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help: equations don't work

446 views
Skip to first unread message

a

unread,
Mar 26, 1999, 3:00:00 AM3/26/99
to
I just bought & installed SW98+ & installed onto a pentium II, win98
computer.

The equations function doesn't work. I can successfully create the
equations, but they don't 'evaluate' to anything ("evaluate to" column
remains blank).

When I first ran it, the very first time, the equations did evaluate, then
gave some kind of vague "run error" message when I ok'd out of the equations
dialog box. Then they wouldn't evaluate again & wouldn't update the model or
sketch. The model & sketch dims think they are contolled by equations &
won't allow manual editing.

Following my var's suggestions, I reinstalled sw. Again the equations
evaluated in the dialog box, gave a run error upon exiting the box, didn't
update model or sketch & wouldn't evaluate again.

Following my var's suggestions, I downloaded & installed the newest vbrun
files, re-installed sw - nothing.
Following my var's & sw's instructions, I tested the windows/temp directory
for functionality - it's fine, re-installed sw - nothing.

I then uninstalled sw, quit pgp (pretty good privacy) & re-installed it -
nothing.

I have tested old models with equations, plus created new, simple
rectangular cube models - equations can be written but are not evaluated or
updated in model or sketch.

Can anyone help?

Bob

Dean D. Mazure

unread,
Mar 26, 1999, 3:00:00 AM3/26/99
to
Have you tried the parts on another machine? Does the same error happen or
does it work correctly. Send me a simple part that is failing if you like.

What is the error message you are receiving? It should list a specific
'module' the error has occurred in. A copy of the text or a window capture
[Alt-PrintScreen] would be great.

RE: The dims being controlled by the equations... The dims themselves will
be marked as driven when controlled by an equation, edit the dim properties
to unselect driven.
--
Dean D. Mazure mailto:de...@evcoinc.com
Join the SolidWorks WebRing @ http://www.evcoinc.com/SolidWorks/WebRing.htm
"Time flies like an arrow. Fruit flies like a banana." ...Groucho Marx

Trevor J. Watt

unread,
Mar 29, 1999, 3:00:00 AM3/29/99
to a
It sounds like the equations you're using have some sort of syntax
that SW isn't liking.

Can you be more specific about what types of equations you're using?
...

I've never had a problem with equations not working outright, but I can
offer some advice:

- Make sure you have no loops or circular logic ( harder than it sounds
when you're using a lot of equations )
* This is bound to give SW an ulcer *

- convert degrees to radians within the equations (rather obvious, sorry)

- check any non-linear equations (trig, log/exp, sqrt, etc.) manually to
ensure you're not getting any negative (or imaginary) dimensions

- If you're using equations to control part dimensions by another part
within an assembly, make sure you:
a.) Use the complete dimension name, eg: "DIM_NAME@Feature@Part"
b.) Are not trying to control a dimension in a part file that is
read-only through an assembly
c.) Are not using equations that are referenced to a supressed
feature. -> I'm not sure about this one... but you never know.
This is especially the case when you're dealing with multiple
configurations that control a lot of feature suppressions.

That's all I can think of at the moment...
Hope it helps.

- Trevor


p.s. If you bought SW recently, call their tech-support (if you think it's
a bug issue). I usually recommend re-installing as a last resort.

p.p.s. Equations will also become dysfunctional if they're looking at a
dimension which has become dangling as a result of part mod.s
If that's the case you'll need to go back and re-do your relations.
(speaking from experience). This is especially true when you're
using a modified entity in a sketch, and it's parent has
changed coordinates or geometry. Although it's more time-consuming
you're better off using co-linear relations with a slew of sketched
lines than modified entities.


Johnathen Lieber

unread,
Mar 29, 1999, 3:00:00 AM3/29/99
to
I am working with this problem also (I'm the VAR....:) )

We have tried creating just a simple rectangular box (4" wide by 3" high 1"
deep)

The 4" dimension is d1@sketch1 and the 3" is d2@sketch1.

The equation reads: d2@sketch1 = d1@sketch1/2

After selecting 'OK' the equation appears in the equation dialog box, but
under the 'Evaluates to' column it is blank.

If you select OK from the equations box and try to select the d2 dimension
the system states that this dimension is driven by an equation. If you
change the d1 dimension, d2 does not update as it should.

I have had him 'reinstall' SW several different ways (shutting down PGP and
any other progams that may cause problems). All the runtimes are the most
current. He did recieve an error message twice after doing the equation
(each time on a new part file) but only twice and was not able to record the
information.

The computer's temp directories are working and writable via 'Notepad'. It
is a Windows98 system and the user is pretty familiar with the workings of a
computer/operating system (read: he is not a 'new' computer user')

We are trying to stay away from making registry changes (per the users
request, actually a good idea). And so far the only solid advice from SW
has been to check the TEMP directories, other than that this problem has not
only stumped us, but SW. Later this week we will try installing onto
another system and possibly get an SPR.

Sorry to be so lengthy but this is a very frustrating problem for us since
there has been no fixes yet for a few days now.


Trevor J. Watt <wa...@iat.utexas.edu> wrote in message
news:Pine.SOL.4.02.9903291528350.23208-100000@tiultra...

Robert MacGregor

unread,
Mar 30, 1999, 3:00:00 AM3/30/99
to
Just a thought.......... noticed that your message didn't include quotation
marks in the equation eg "d2@sketch1" = "d1@sketch1"/2 , was the equation
written in instead of 'clicking' on the dimensions or am I teaching my
grandma to suck eggs?


Johnathen Lieber wrote in message ...

Trevor J. Watt

unread,
Mar 30, 1999, 3:00:00 AM3/30/99
to Johnathen Lieber
> ...

>
> The equation reads: d2@sketch1 = d1@sketch1/2
>
> ...

Someone else has already mentioned the use of quotation marks. :

ie. "d2@sketch1" = "d1@sketch1" / 2,

which is necessary for SW to evaluate the equation.

It might be a good rule of thumb to click on the actual dimensions within
the display window rather than typing them in manually. I always take this
approach, since it circumvents those tedious spelling errors that do
happen from time to time...

If you try and redo the equation by manually clicking on ALL the
pertinent dimensions on the part itself, and clicking the operators
provided in the little "add equation" box, the equation should work.

If you still can't get it running, I would suggest investing in an NT
system... Chances are if you DO find a way to rig Windows 98, you're
going to have more problems down the road. Playing with the registry can
have interesting and usually irritating side-effects.

Good luck,

- Trevor


Johnathen Lieber

unread,
Mar 30, 1999, 3:00:00 AM3/30/99
to
Before it get's to far, the dimensions have always been clicked on, never
written in. Even the divide sign and equal to sign are click on through the
buttons....

:)


Robert MacGregor <RobertM...@watkiss.com> wrote in message
news:922799324.25531.0...@news.demon.co.uk...

Johnathen Lieber

unread,
Mar 30, 1999, 3:00:00 AM3/30/99
to
None of the dimensions were typed, everything was 'mouse clicked'.

There are no name changes or anything of the sort.

It's pretty much like this,

Launch SW
Extrude a retangle
Create an equation (using the mouse to select)

No name changes, the " are in the proper places....

That is why it's so this is such a problem...this part can't get any
simpliar (sp?)....

Johnathen Lieber

unread,
Mar 30, 1999, 3:00:00 AM3/30/99
to
I can't send you the file as this is a clients machine and I am not there.
 
BUT, there is no specific file that this problem is related to.  This error is present with a brand new part file with one feature (currently a rectangle).
 
 
OK Johnathen, now I'm really curious!
Can you email me the file? I'll spend a little time on it to see if I can figure it out.

Dave Murray

--
To send email, remove "NOSPAM" from my address.
 

Kevin Wisher

unread,
Mar 31, 1999, 3:00:00 AM3/31/99
to
I recreated the sample model and got the equation below to work. Hope this
helps.

"D2@Sketch1" = "D1@Sketch1" * .5


0 new messages