Place Block on Polyline (slide and flip functions)

Place Block on Polyline (slide and flip functions)

brendon_butler2
Explorer Explorer
342 Views
3 Replies
Message 1 of 4

Place Block on Polyline (slide and flip functions)

brendon_butler2
Explorer
Explorer

I’m requiring a Lisp routine that places a particular block (attached) along a selected Polyline and will be able to slide the block along the Polyline and place it randomly where I need it and depending on which side of the polyline I’m hovering over, the block will flip to one side or the other.

See simple diagram to better illustrate.

 

DWG with block named “Wall Symbol” attached

Thanks in advance!

 

 

brendon_butler2_1-1743661266947.png

 

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

Moshe-A
Mentor
Mentor
Accepted solution

@brendon_butler2 hi,

 

This one can be solve without lisp 😀

 

Attached your block, made it dynamic with 2 properties:

1. alignment grip: after you insert the block pick it than pick the alignment grip and drag it hover a pline and it will align right away.

2. flip grip: if after you drag the block it align not on the right side, click the flip and it will switch sides.

 

enjoy

Moshe

 

0 Likes
Message 3 of 4

Sea-Haven
Mentor
Mentor

Just a comment there is lots of INSULATION lisps out there so pick 2 points and the XXXX will be drawn but can be more or less than 4 X's. It can be made to go above, along or below.

SeaHaven_0-1743716258947.png

 

 

0 Likes
Message 4 of 4

brendon_butler2
Explorer
Explorer

Thank you, Moshe. I must admit to never using dynamic Blocks at all. 
I've had a quick play already and I see now the possibilities.

Thanks again!

0 Likes