Changing variable value breaks sketches inconsistently
paul_botwid
Member Posts: 6 ✭
Hi,
In modeling a parametric box design, I encountered some weirdness when working with variables to control the boxes dimensions.
Basically, when I change a parameter / variable like the box height, it often breaks one of the sketches.
However, if I go into the affected sketch and do a slight change, like adding 0.1mm to a dimension, the new variable value works.
After this, if I go back and reset the dimension to the original value (then didn't work the first time) - the sketch still works out.
Bit hard to explain but please see the attached video and maybe it's clearer.
https://www.youtube.com/watch?v=LGMTfAJhJDg
Any thoughts as to why this might happen and how to solve it?
Is it just a bug or is there something I can do to prevent it?
Thank you
In modeling a parametric box design, I encountered some weirdness when working with variables to control the boxes dimensions.
Basically, when I change a parameter / variable like the box height, it often breaks one of the sketches.
However, if I go into the affected sketch and do a slight change, like adding 0.1mm to a dimension, the new variable value works.
After this, if I go back and reset the dimension to the original value (then didn't work the first time) - the sketch still works out.
Bit hard to explain but please see the attached video and maybe it's clearer.
https://www.youtube.com/watch?v=LGMTfAJhJDg
Any thoughts as to why this might happen and how to solve it?
Is it just a bug or is there something I can do to prevent it?
Thank you
0
Answers
-
Please post a link to your document. - Scotty0
-
-
Paul, your document is not Public so we can't poke into it for some examination. However, I don't see any variables, only configurations. - Scotty0
-
Oh, sorry I thought I set it so that anyone can make a copy of the doc. I can't seem to find the right share settings.
How do I go about this?
Thanks for your patience!
0 -
Hello Paul. It is currently Public. I think you may have some confusion as to the scope/uses of Variables and Configurations. Please take a look at Part Studio 1 Copy 1 in the linked document using variables and configurations. Part Studio 1 Copy 2 is a variaton of the Configuration Panel. - Scotty
https://cad.onshape.com/documents/9fdce3e730fdcd1def104606/w/cc6e5019dbc2a68a28d32d4a/e/28d53a057503e0fbc4746706
0 -
Hi Robert,
Thank you for you input.
I see now that I've gone the long route creating my parameters, the way you're showing is so much easier. I will try adopting this and see if it makes a difference. I was also advised by the onshape support to use my variables to drive the positioning of the malfunctioning sketch, tying it directly to the height of the box for example.
Kind regards,
Paul0