Mline Grid routine

Mline Grid routine

Anonymous
Not applicable
821 Views
3 Replies
Message 1 of 4

Mline Grid routine

Anonymous
Not applicable

Hi:

 

I am only beginning to learn about LISP routines, but I was wondering if there was a simple way to modify the grid making lisp routine created by Lee Mac (http://www.lee-mac.com/drawgrid.html) to create mlines, instead of just lines - and if possible, is there a way to make the row lines one named style of mline, and the column lines another?

 

Thanks for any direction!

0 Likes
Accepted solutions (1)
822 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant
Accepted solution

Ok, try the code attached. See the code, there are names as VERTICALSTYLE and HORIZONTALSTYLE. Change them as you like. Before you run the routine, make sure that those styles ARE in the drawing, otherwise the routine fails. 

 

0 Likes
Message 3 of 4

Anonymous
Not applicable

This worked perfectly!  Thank you for giving it your time and thought.

I will certainly look at what you did to get it to work.

 

Best,

0 Likes
Message 4 of 4

john.uhden
Mentor
Mentor

Is it a rectangular grid you want to create?  I ask because the ends of an Mline always terminate opposite one another and not at an angle between each end.  Just wondering if maybe you could create a hatch pattern that does what you want.

John F. Uhden

0 Likes