dogarila
Mechanical
- Oct 28, 2001
- 594
This is for SW and VB masters out there:
I would like to write a macro that does the following:
1. User selects 4 sketch points
2. Runs macro
3. Coordinates of first an second point are compared
4. If first and second point are more likely to be horizontal, a horizontal constraint is applied to them otherwise vertical
5. Points 2 and 3: if horizontal was applied at 4 apply vertical, otherwise apply horizontal
6. Points 3 and 4: apply whatever was applied at 4
7. Points 4 and 1: apply whatever was applied at 5.
I would really appreciate any help.
I would like to write a macro that does the following:
1. User selects 4 sketch points
2. Runs macro
3. Coordinates of first an second point are compared
4. If first and second point are more likely to be horizontal, a horizontal constraint is applied to them otherwise vertical
5. Points 2 and 3: if horizontal was applied at 4 apply vertical, otherwise apply horizontal
6. Points 3 and 4: apply whatever was applied at 4
7. Points 4 and 1: apply whatever was applied at 5.
I would really appreciate any help.