Put hatch grips on grid

Put hatch grips on grid

^_^clovis^_^
Advocate Advocate
380 Views
3 Replies
Message 1 of 4

Put hatch grips on grid

^_^clovis^_^
Advocate
Advocate

Hello,

I'm writing a small routine to put entities on a defined grid. I can't figure out how to change a hatch grips using lisp. Any help would be greatly appreciated!

 

Thanks

0 Likes
381 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant

There is no specific grip functionality in lisp such could be... (gripmove p1 p2)

You need to modify the boundary definition somehow eg. (getpoint) > (entmode)

Or post the code and explain your goal....

0 Likes
Message 3 of 4

Kent1Cooper
Consultant
Consultant

You can use the commands in zzQUANTIZE.lsp, available >here<.  If the Hatch pattern is associative, use a Quantizing command on what it's associated with, and it will follow.  If not, use it on the Hatch pattern itself.

Kent Cooper, AIA
0 Likes
Message 4 of 4

^_^clovis^_^
Advocate
Advocate

Thanks for your input and sharing your routine.

using your routine is faster than using the boundaries->recreate.

 

I hope that the grips will be available/reachable with lisp in the future.

 

0 Likes