MRNEL
Automotive
- Apr 9, 2003
- 4
Background: I work for an automotive engineering company that creates drawings which is used to manufacture parts. The number of dimensions shown on the drawings can be upwards of 100. When the finished part is measured for compliance to drawing we currently 'birdy'/stamp the dimensions with a cicle with an arrowhead protruding [like the NORTH arrow on a map] and write a number inside to use as reference on our inspection reports.
My idea is to use a dedicated layer [called Birdy] that would be done at draughting stage.This can then be turned on to print drawings for checking purposes.
I'm thinking of creating a macro that would enable me to rapidly reference to the various dimensions on my drawings. The macro would run with a button and driven by the mouse is clicked next to the desired dimension.
I foresee it to work this way:-
1.first click would give the x-y co-ordinates of where the centre of my circle would be.
2.A second click would be required to give the direction of the arrowhead.
3.A counter would insert a number as text inside the circle once again using the x-y co-oridnates extrated in point 1. This number will increment by one at every insertion.
I don't have a problem with the number side but cannot find anything on how to get the x-y co-ordinate at the mouse click point. The second mouse click would give me a x-y which I can then use to generate the angle from the first click and then I would insert the circle/arrow and rotate it to the required angle.
Can anyone please point me in the right direction?
thank you
Marius Nel
My idea is to use a dedicated layer [called Birdy] that would be done at draughting stage.This can then be turned on to print drawings for checking purposes.
I'm thinking of creating a macro that would enable me to rapidly reference to the various dimensions on my drawings. The macro would run with a button and driven by the mouse is clicked next to the desired dimension.
I foresee it to work this way:-
1.first click would give the x-y co-ordinates of where the centre of my circle would be.
2.A second click would be required to give the direction of the arrowhead.
3.A counter would insert a number as text inside the circle once again using the x-y co-oridnates extrated in point 1. This number will increment by one at every insertion.
I don't have a problem with the number side but cannot find anything on how to get the x-y co-ordinate at the mouse click point. The second mouse click would give me a x-y which I can then use to generate the angle from the first click and then I would insert the circle/arrow and rotate it to the required angle.
Can anyone please point me in the right direction?
thank you
Marius Nel