MR MAN Posted July 6, 2009 Posted July 6, 2009 I MAKE LISP DIVIDE OBJECT AND THEN INSERT BLOCK AS SHOWN BUT IT SOME TIME STOP AT INSERTION OF BLOCK I DON'T KNOW WHY ANY HELP: (defun c:DDV() (command "DIVIDE" PAUSE "BLOCK" "MRMAN25" "Y" PAUSE) (princ) ) THANKS Quote
stevsmith Posted July 6, 2009 Posted July 6, 2009 Why i there a smiley man in your lisp?? Was that deliberate? Quote
MR MAN Posted July 6, 2009 Author Posted July 6, 2009 no it doesn't i delete it from my thread but it return iam sorry for this error Quote
flowerrobot Posted July 6, 2009 Posted July 6, 2009 Man that simly got me simling for about a min, Try that (defun c:dv (/ ss sectionno blockname ) (setq blockname "[color=#ff0000]MRMAN25[/color]") (if (or (tblsearch "block" blockname) (findfile blockname)) (progn (while (not ss) (setq ss (ssget "_:S" ))) (initget 7) (setq sectionno (getint "\nHow segments do you want? :")) (command "DIVIDE" ss "BLOCK" blockname "Y" sectionno)) (Alert "The Block in not in the drawing please insert it"))) excuse the format, it never pastes well for me Quote
Lee Mac Posted July 6, 2009 Posted July 6, 2009 Flower, in VLIDE uncheck the option that says "Insert Tabs" and you might get better results in posting Quote
flowerrobot Posted July 7, 2009 Posted July 7, 2009 Had a look, i couldnt see it, I must admit i am a noob in vlide. I only use it to run a line at a time debuging & see output of values Tho i have done a work instruction for it Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.