3 Replies Latest reply on Jul 8, 2015 6:31 AM by Feroz Mahomed

    Get the direction between faces

    Chris Christy

      I have a macro that lets you select 2 faces, and then gets distance between those 2 faces and inserts a part based on that and a few user inputs. The issue I would like to resolve is, depending on face selections, sometimes the mate distance/alignment goes the wrong way for the intended purpose. I assume this is because of differing Normal Tos of the selected faces.  What would be the best solution to get it always to mate towards the 2nd selected face?


      Also, is there a way to make a direction arrow that I can have appear to show the direction it will be going in? That way if it isn't the intended direction the user can click a flip dimension checkbox, just like standard solidworks functionality?


      Thank you in advance.


      Chris Christy