I'm looking to add a lisp command to a stretch

I'm looking to add a lisp command to a stretch

cclawsonD6QHU
Participant Participant
231 Views
4 Replies
Message 1 of 5

I'm looking to add a lisp command to a stretch

cclawsonD6QHU
Participant
Participant

So I'm looking to add a Lisp command to my dynamic block that will update with a stretch command, for example said command will divide a line segment and add Drill holes to said line at equal intervals under 12" OC I believe I have a very rough working LISP Command for the vertical and horizontal lines, but I don't know how to associate that command with the stretch for the block. is that even possible?

I've attached both the block and the LISP.

Thanks.

0 Likes
Accepted solutions (1)
232 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

The Dynamic Blocks forum focuses on the stock functions of dynamic blocks.  For custom code, you will typically get much better responses from the LISP forum.

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/visual-lisp-autolisp-customizat...

0 Likes
Message 3 of 5

cclawsonD6QHU
Participant
Participant

Right the code isn't what I was asking for it the inserting it into the block...

unless that is done in the code?

0 Likes
Message 4 of 5

Libbya
Mentor
Mentor
Accepted solution

Yes, that would have to be done in the code.  The only stock ways to control the parameters within a dynamic block are by adjusting the grips or entering values in properties.

0 Likes
Message 5 of 5

cclawsonD6QHU
Participant
Participant

thank you I will post there then.

0 Likes