Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

An Apparent MidPoint

Status
Not open for further replies.

shadow

Computer
Mar 1, 2001
321
i have a lisp/macro for a button that specifies half the distance between 2 points but when i use it inconjunction with other commands it tends to go with osnaps instead of picking the apparent mid point of the 2 points i had specified such as in this example

i have a horizontal line and a vertical that is a misc distace from the mid point of horizontal line now i want to draw a line starting at half the distance from the midpoint of the horizontal line and the endpoint of the vertical line

ok so knowing that here is the macro i have

'cal;(cur+cur)/2;^M

it works some times but others its just acting goofy like selecting 1/4 the distance or selecting the last picked point etc... if everyone helps everybody the world will be a better place
 
Replies continue below

Recommended for you

You will need to turn OSNAP off. You can toss this in right before your midpoint code and turn it back on when you are done. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
DSI

I understand what your talking about but on thing i may not allways use the same snap setings while doing this so it is imortant for this to stay variant so that i may need an apparent midpoint between the centers of 2 circles or 2 endpoints or 2 midpoints

what should i do????? if everyone helps everybody the world will be a better place
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor