Multiple middle points instead of midpoint?

Multiple middle points instead of midpoint?

masterenol
Advocate Advocate
1,885 Views
5 Replies
Message 1 of 6

Multiple middle points instead of midpoint?

masterenol
Advocate
Advocate

Is there a way I can snap to a line by setting a number of middle points I want the line to be divided into? For example, in the picture below:

 

MidPoints.PNG

To top white line has a green vertical line added to it via MIDPOINT snap.

 

What I want is to snap the green vertical lines to the white line as shown in the bottom white line. If trimmed, the bottom white line would be divided into three even lines.

 

How can I go about achieving my desired result of snapping onto middle points instead midpoints?

0 Likes
Accepted solutions (1)
1,886 Views
5 Replies
Replies (5)
Message 2 of 6

imadHabash
Mentor
Mentor

Hi,

 

>> How can I go about achieving my desired result of snapping onto middle points instead midpoints? <<

There is no way to snap direct to divide lines BUT you can achieve your need by the follow:

  • use DDPTYPE command and select proper point style.
  • type DIVIDE command and enter number of parts that you need to divide. >> Click <<
  • NOW you snap to the points that you have made by selecting and using Node object osnap from OSNAP command .

hnh.png

 

Good Luck...

Imad Habash

EESignature

Message 3 of 6

Kent1Cooper
Consultant
Consultant

If you want [as in your image] to use all such subdividing locations [not just snap to one of them], and do with them something like placing a Line like that at each one, without the intermediate step of using the regular DIVIDE command to place Points at each location [and therefore without needing to get rid of them afterwards], you can use my DivideMeasurePlus.lsp routine, available here.  Its DIV+ command has a lot of enhancements over regular DIVIDE, including not limiting you to Points or Blocks [you can select any object(s) under the Selection option].  This image was done with it, starting with Selecting the vertical green Line and giving its top end as the reference location on it, accepting the Aligned orientation option, and picking the white Polyline to DIV+ into 5 segments.  Read the comments at the top of the file, and follow the prompts -- there are many other choices you can make that improve on the capabilities of regular DIVIDE though they may not be needed for your particular example.  [And similarly with MEA+ improving on regular MEASURE.]

 

DividePlus.PNG

 

[It also has an option to draw Lines, in which case you would not need to have one drawn first to Select, but so far they are only centered on the path object.  I have had in mind for some time to add an option for the positioning -- left/centered/right -- and maybe this will stir me to make that adjustment.]

 

It would also be possible to make a routine that would let you snap to one such location -- for instance to snap to only the one spot that's 3/10 of the way along a path.  The code would be similar to FromEnd.lsp with its (fe) function [available here], and it shouldn't be too hard to adjust that routine, if that's the kind of thing you're after.

Kent Cooper, AIA
0 Likes
Message 4 of 6

pendean
Community Legend
Community Legend
Go to page 8 (example 4) in this PDF to see how to use QUICKCALC to divide distances like your line into as many equal spaces as you want file:///C:/Users/dsaadallah/Desktop/calculator_102014.pdf
0 Likes
Message 5 of 6

Anonymous
Not applicable
Accepted solution

I bought an app from Autodesk app store called osnap palette it has custom snap points like 1/4 1/3 or you can make your own.App is only 5 dollars and there is a trial.I use it constantly I think that is what you are trying to do try it out!

Message 6 of 6

gotphish001
Advisor
Advisor

I did the trial of that app. It was pretty handy. Probably get around to buying it eventually.



Nick DiPietro
Cad Manager/Monkey