Jump to content

Recommended Posts

Posted

Hello guys

 

I have 2 dialog,when dialogs are on separate files they d'ont contain error, but when i just copy paste 2nd below the 1st dialog, second dialog has an error.

 

make your bets

 

thank you

Posted

Admin's please delete this thread,question is too vague

Posted

Problem was in the first dialog, I was using one function to get the error line in dcl, but I think it just brought more confusion.

I have a question:

I don't know whats a term of this thing,I attached on sketch how to stop it?

stopsun.jpg

Posted

Looks like the cursor symbol that appears when the VLIDE cannot be used due to a Dialog / Command taking focus; cancel the dialog / command to return focus to the VLIDE.

Posted (edited)

I couldn't press anything else, Cant type, cant edit. Had to use task manager to terminate. Can't press " x " to close dialog. Lee when you say cancel the dialog You mean click on "x" of dialog?

 

Another question:

 

I want to restrict user to a selection of an item from list, and evaluate if an item was selected before ok is pressed. I thought mode_tile " " will do it,but no

 

(if (= 0 (atoi (get_tile "selections11")))

(progn
  (set_tile "error" "Select #1 Sprinkler from list")
  (mode_tile "selections11" 2)
)

)   

Edited by Qonfire
Posted
I couldn't press anything else, Cant type, cant edit. Had to use task manager to terminate. Can't press " x " to close dialog. Lee when you say cancel the dialog You mean click on "x" of dialog?

 

Sounds like you are missing a (start_dialog) call.

Posted
Sounds like you are missing a (start_dialog) call.

Is this comment pertaining to cancel the the visual lisp cursor running thing or this part of the script? I put just part of code.

 



(if (= 0 (atoi (get_tile "selections11")))

(progn
  (set_tile "error" "Select #1 Sprinkler from list")
  (mode_tile "selections11" 2)
)

)

 

 

P.S. Even if I forget start_dialog how can I reset the runing console thing without terminating visual lisp from from taskmanager

Posted
P.S. Even if I forget start_dialog how can I reset the runing console thing without terminating visual lisp from from taskmanager

 

AFAIK, you can't. If you forget to include a (start_dialog) call after a (new_dialog) call, the dialog will hang and will need to be terminated from the taskmanager. The cursor appears in the way that it does because that is standard behaviour for the VLIDE when a dialog or command is active in AutoCAD.

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