- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I'm having problems trying to do a seemingly basic action. I have a sketch on my base view that is completely constrained aside from the length of the blue line. It looks like this:
Essentially I can't find an efficient way of setting the length of the blue line.
- length property is read only
- can't find documentation on the scale command in sketch environment (I could just scale it by 44.671/5)
- I thought I could just add a dimension , then set its value and let the inventor's constraint solver do the rest but I'm not sure if that's the case
I simply want to change the length of a line so that the dimension 44.671 becomes 5.6. What I did was, I've calculated a scale factor (44.617/5.6) and then multiplied it by the difference in X and Y coordinates between line's start and end point to get new endpoint coordinates and then I've moved endpoint of my line to those coordinates. Only afterwards, when the line was already the right length did I add a dimensional constraint. Alternatively I could probably move it with a vector2d bbut that would be even more hassle.
Solved! Go to Solution.