Jump to content

Recommended Posts

Posted

I am looking for a method to walk a user through some steps within Autocad. I was hoping to have a modeless window that tells the user step by step process, but from Step 1 to Step 2 there would be a "OK" Button or similar to continue. I think that would give the user time to do the instructions then go onto the next step and so forth.

 

I usually like using the acet-ui-status commands, but I cannot get it work with the above scenario.

 

I also and looking at the dos_traywnd but it seems that it pops up for a few seconds before disappearing. 

 

Or maybe there is another way to do this.

 

Thank you again for your help!

Posted

Syntax  (dos_traywnd title text width height [operation [duration]]) in milliseconds

 

Alert pops up a message box in the middle of the screen and waits for the user to click ok before continuing with the lisp.

(defun C:test ()
  (alert "\nHow to draw a line")
  (alert "\nFirst you need to start the command \n Either by typing "line" or clicking the line icon")
  (alert "\nAfter the command is running you will be prompted to pick a starting point")
  (vl-cmdf "_.Line" pause)
  (alert "\nNow pick an end point")
)

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