Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

Constraints in Inventor 2022

Constraints in Inventor 2022

kevin6257
Explorer Explorer
491 Views
6 Replies
Message 1 of 7

Constraints in Inventor 2022

kevin6257
Explorer
Explorer

Hi All

 

Really not sure if this is working correctly. When I try to constrain a line vertically it turns the line horizontal. When I constrain horizontal it turns the line vertical. I'm confused. Please help!

kevin6257_0-1640689475774.png

 

0 Likes
492 Views
6 Replies
Replies (6)
Message 2 of 7

TheCADWhisperer
Consultant
Consultant

Your image does not show the XYZ triad.

But note the thick black axis line - this represents Horizontal.

Note the thin black axis line - this represents Vertical.

 

3D space -
XY plane Y is Vertical.

XZ and YZ planes Z is Vertical.

0 Likes
Message 3 of 7

robertast
Collaborator
Collaborator

aad.jpg

The vertical or horizontal line depends on how the UCS stands. Not like your screen

Message 4 of 7

SBix26
Consultant
Consultant

The quickest way to solve this is to rotate your view 90°.   That may sound dismissive of your issue, but it truly is the answer, because "horizontal" and "vertical" are relative to the sketch coordinate system, not to your screen or to the part's origin.  The sketch coordinate system is defined by Inventor based on algorithms that we users have no control over.  The sketch coordinate system can be redefined, if necessary, but I've very rarely seen a need for that.

 

Probably the easiest way to deal with this is to turn on visibility of the axes and/or the sketch coordinate system indicator, so that you can easily see which way is which.  The X-axis is slightly bolder than the Y-axis if you have them visible.  

 

SBix26_0-1640691556867.png


Sam B

Inventor Pro 2022.2 | Windows 10 Home 21H2
autodesk-expert-elite-member-logo-1line-rgb-black.png

 

Message 5 of 7

kevin6257
Explorer
Explorer

Hi

Thankyou very much for your answers. Greatly appreciated. Below I have sketched both with the "Y" as vertical.

Why does the axis lines change 90 deg when I am only turning on the "Y" axis??

In the last photo you can see the yellow dot for the UCS centre point.

kevin6257_0-1640695083011.png

kevin6257_1-1640695131795.png

kevin6257_2-1640695505439.png

 

 

0 Likes
Message 6 of 7

swalton
Mentor
Mentor

Remember that each sketch has its own internal coordinate system.  Autodesk created a black-box algorithm to automatically create the sketch coordinate system.  The internal x and y directions are NOT required to be consistent with the origin geometry. Instead the algorithm grabs convenient geometry that exists in the model and assigns a local +x and +y direction.  I believe that the sketch x axis is the horizontal direction and the sketch y axis is the vertical direction. There is no chance for the user to control the sketch coordinate system at sketch creation.

 

It is possible to manually re-define the sketch coordinate system after sketch creation.  It has to be done outside the sketch environment, and is easiest if done before any sketch geometry is created or projected.  RMB on an existing sketch to get the Edit Coordinate System command.   See the screenshot below.

 

If changes to previous features delete or alter the geometry that the sketch coordinate system algorithm picked, users need this command in complex models when edits/new features are added to the model tree before the sketch.  

 

swalton_0-1640708138237.png

 

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
Message 7 of 7

johnsonshiue
Community Manager
Community Manager

Hi! Another option is to create a UCS object and sketch on its XY plane, so that the coordinate orientation always persists with the origin XY.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes