3 Replies Latest reply on Jan 29, 2013 5:59 PM by Artem Taturevych

    Align Grid/Origin

    Yateen Shembade

      Is there a macro I can use for this.

      I end up using  this command very oftne while designing.

      I tried to record it but it doesn't work.

      or can any one tell me what will be the API command for it?

        • Re: Align Grid/Origin
          Artem Taturevych

          Can you please clarify what are you looking for - I'm a bit confused. Sample snapshot/video would be the best.

          __________________________

          Regards,

          Artem Taturevych

          Application Engineer at Intercad

          http://intercad.com.au/

          Tel: +61 2 9454 4444

            • Re: Align Grid/Origin
              Yateen Shembade

              I am looking for macro solution for the following command.

              I use this command often when I am switching planes for the holewizard features to align the origin of the feater with the origin of the part.

                • Re: Align Grid/Origin
                  Artem Taturevych

                  Thanks for the clarifications. Now it is clear.

                   

                  Unfortunately there is no direct API method for this. However this functionality may be achieved with the entities rotate/translate functions.

                   

                  I have created the macro which can set the sketch origin and x axes aligned with the selected entities. Note, I have improved the original Align function. Now you can select linear edges, sketch lines, vertices and sketch points both in the active sketch or in another sketch. The origin will be aligned with selected sketch point/vertex and the x-axes with selected edge/sketch line.

                   

                  Note. You can create a button for this macro and assign the hot key. Use 'main' function as entry point.

                  __________________________

                  Regards,

                  Artem Taturevych

                  Application Engineer at Intercad

                  http://intercad.com.au/

                  Tel: +61 2 9454 4444