Changing dimension reference in sketcher
Changing dimension reference in sketcher
(OP)
Hi,
I hope, there exists a way to change references of dimensions in sketcher (similar to one in drafting)...
What is my problem?
I have created a law curve of spiral, that is driven by 2 diameters and angles in a sketch. There is also a line tangent to the spiral. Unfortunately, when I change the orientation of the spiral (growing either clockwise or counterclockwise) I need to change also the line, so that is tangent to the other end. But because I want to drive the diameter somehow, I have set a distance of center of spiral to the end poin of spiral/start point of line and this variable is used to drive the law curve. That means, that when I swap them, the dimension is still on the same place and pointing to the wrong end of the spiral. I cannot delete it and recreate it because its used in the expression.Therefore I need to somehow change the references of the dimension.
Thanks for help
Vit
I hope, there exists a way to change references of dimensions in sketcher (similar to one in drafting)...
What is my problem?
I have created a law curve of spiral, that is driven by 2 diameters and angles in a sketch. There is also a line tangent to the spiral. Unfortunately, when I change the orientation of the spiral (growing either clockwise or counterclockwise) I need to change also the line, so that is tangent to the other end. But because I want to drive the diameter somehow, I have set a distance of center of spiral to the end poin of spiral/start point of line and this variable is used to drive the law curve. That means, that when I swap them, the dimension is still on the same place and pointing to the wrong end of the spiral. I cannot delete it and recreate it because its used in the expression.Therefore I need to somehow change the references of the dimension.
Thanks for help
Vit





RE: Changing dimension reference in sketcher
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Changing dimension reference in sketcher
Dimensions appear to be just a fancy form of constraint in the sketcher. Due to the way it works you should be able to delete any dimension or constraint as required and apply a different method to the other end of the line. When you re-evaluate the sketch and/or exit the sketcher then the dependent geometry will update.
In your case you ought to be able to delete the tangency constraint to one side of the circle, move the end of the line to somewhere near the other side, and then create a new tangency constraint.
Line tangent to a curve has always been a condition that is crying out for an alternate solution button, both inside sketcher and for basic curves.
Best Regards
Hudson
RE: Changing dimension reference in sketcher
A prime example being the Reattach Dimension command in Sketcher. It was added in NX5 but if you're not using NX5, then we need to think of another workflow to achieve the results you desire.
Tim Flater
Senior Designer
Enkei America, Inc.
www.enkei.com
Some people are like slinkies....they don't really have a purpose, but they still bring a smile to your face when you push them down the stairs.
RE: Changing dimension reference in sketcher
I may be wrong about some of this I haven't been using NX-5 for that long that I want to get too cocky about what I do or don't know. If you have a read and can fill in my gaps then Vit among others may be the better for it.
I thought that even prior to NX-5 it didn't seem to matter if you simply deleted the dimension and re-created it seeing that the sketch evaluation can be forestalled without losing anything external to the sketch.
I've seen re-attach dimension in NX-5 sketcher. It would be news to me at this stage if other constraints worked similarly. Anyway in this case it simply assumes the wrong end of the spiral law curve, so you're going to have to break the constraint in order to re-define it aren't you?
In other words would not the other workflow be somewhat as I described above. The only thing I could add after testing a similar example would be that for lines tangent to arcs or other spline curve you usually need to define two constraints per end. These would be the tangency arc to line, and the line endpoint to be on the arc.
Regards
Hudson
RE: Changing dimension reference in sketcher
thanks for the response. I am using NX 4.04...As I said, deleting the dimension doesnt work. I named the dimension for example WP_D1..and when I delete the dimension, I cannot create one with the same name, because UG complains, that this value is used in expressions.
RE: Changing dimension reference in sketcher
It isn't so hard really. But if you're going to tell us that it isn't that way in some other CAD system then you're probably wasting you breath because it has been changed in NX-5. Funnily enough what they don't tell you is that if you do this same sort of thing when you go to reattach the dimensions you will need to re-assert the value or type in the expression anyway. And it probably is better that way as the alternative could produce some fairly unexpected results. The point is that it is a whole new dimension in either case and the fact the you have to re-assert the value just makes sense in either the NX-4 or the NX-5 sketching scenario.
Best Regards
Hudson
RE: Changing dimension reference in sketcher
RE: Changing dimension reference in sketcher
If it is any consolation you can edit the expressions while you're still in the sketcher in NX-5. I tested earlier under NX-5 and noting your recent comment went back and checked it again under NX-4. It isn't very convenient in NX-4. So at least you know a couple of things about how you can do it and what works now and into the future.
Now as you describe what you want to do, and recognizing that there are certain limits placed on how the expressions can be accessed from within the sketch, there is still a way that you can kind of trick the system into doing what you want. Try creating a reference line in the sketch which will initially be named something like P1. Then make the dimension that you need to drive your sketch with and assign that the value P1. When you have that working you can change the name of that expression from P1 to WP_D1. Now your working dimension has the correct value it equals WP_D1, and you can change WP_D1 from inside the sketcher using NX-4.
Regards
Hudson
RE: Changing dimension reference in sketcher
Hudson
RE: Changing dimension reference in sketcher
Believe it if you need it or leave it if you dare. - Robert Hunter
RE: Changing dimension reference in sketcher
Regards
Hudson