Message 1 of 6
LISP to Dynamo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
So I have a lisp that I want to modify slightly and bring into Dynamo.
Heres the LISP
(defun C:BCAL ; = Block Contents of All Layers
(/ lyr lyrname)
(tblnext "layer" T); start at 0 [but don't Block it]
(while (setq lyr (tblnext "layer")); each subsequent Layer
(command
"_.block" (setq lyrname (cdr (assoc 2 lyr))) "0.85,0.5" (ssget "_X" (list (cons 8 lyrname))) ""
"_.insert" lyrname "_non" "0.85,0.5" "" "" ""
"_.chprop" "_last" "" "_layer" lyrname ""
); command
); while
(princ)
); defun
I bolded the text I wanted to be interactable.
Can anyone give me any tips on where to start?
Thanks