Macro for Co-Ordinate System

Hi Pros,

Now this is something I’ve tried from long time but can’t get the solution

My needs are:-

  1. Macro should search the particular Co-Ordinate System for this example (i.e. Stud).

         If not present an msg box must pops up “No CS Found”

2.    If the Co-Ordinate System(Stud) not Present the Code will Search the respective POINT where I want my CS (i.e. STUD POINT) and place the CS

3.    If the Orientation of the CS is wrong, then the Code will automatically Corrects it.

       For Example (Y-axis is along Axis) as per reference Screenshot.

This is multi tasking API.

So, big thanks in Advance

SolidworksApi macros