Jump to content

Recommended Posts

Posted

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

Posted

Why i there a smiley man in your lisp??

Was that deliberate?

Posted

no it doesn't i delete it from my thread but it return

iam sorry for this error

 

Posted

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

Posted

Flower, in VLIDE uncheck the option that says "Insert Tabs" and you might get better results in posting :thumbsup:

Posted

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 :P

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...