Jump to content

lisp needed


CadTechJGC184

Recommended Posts

Hello all,

 

I'm looking for a lisp that deals with wipeout frames. What i want it to do is skip me having to manual type frames/on or off.I was hoping to get a lisp that when i type the lisp name it will turn the wipeout frames on or off. Like if the frames are off and I type WF they will turn on and the next time I type WF they turn off.

 

Any help?? Thanks in advance!!:D

Link to comment
Share on other sites

Something like this?

 

(defun c:wp ()
 (command "_wipeout" "_F")
 (cond (flag (command "_ON")  (setq flag nil))
       (T    (command "_OFF") (setq flag T)))
 (princ))

 

Not sure if the prompts have changed since '04 though... :unsure:

Link to comment
Share on other sites

Another:

(defun c:wp ()
 (command "_tframes")
 (princ))

 

haha - didn't know about that command - I need to play around with ACAD a lot more... :wink:

Link to comment
Share on other sites

I learn something new just about every day.

 

And at my age I forget in a month or two so I can learn it all over again. :shock:

Link to comment
Share on other sites

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...