aaryan Posted May 28, 2014 Posted May 28, 2014 Hi All, Please help. Even after (Done_Dialog 1) my Dialog box still remains on screen till the routine complete its process. I tried (Redraw) after (Done_Dialog 1) but without Luck. Is there any solution for this? Regards Quote
MSasu Posted May 28, 2014 Posted May 28, 2014 Without seeing the full code is difficult to guess. But, where do you have the START_DIALOG function call? Quote
Snownut Posted May 28, 2014 Posted May 28, 2014 What's with the "1" after the Done_Dialog. If you are assuming that is the dialog number that would be wrong. Just try (Done_Dialog) without the "1". Quote
MSasu Posted May 28, 2014 Posted May 28, 2014 Although optional, DONE_DIALOG function's argument will be used as return value by START_DIALOG function and also stored in DIASTAT system variable. It is there to be used later in code to test how user closed the dialog. However, the DONE_DIALOG function had no effect until START_DIALOG is called; for this reason I asked where the second is called in OP's code; I suspect that is placed as one of lasts statements. Quote
aaryan Posted May 29, 2014 Author Posted May 29, 2014 Sorry for being late Members. Thanks for your replies. But I think I was not clear enough, Well My routine works normally it does not have any effect regarding DONE_DIALOG function. Its in the correct position. The main problem is the echo of the Dialog Box remains on screen not the Dialog Box itself. Quote
Tharwat Posted May 29, 2014 Posted May 29, 2014 Is this what you have at the end of your routine ? otherwise post your codes to check them out if they are not that many of lines or just the related codes to dialog . (start_dialog) (unload_dialog id) Quote
MSasu Posted May 29, 2014 Posted May 29, 2014 The main problem is the echo of the Dialog Box remains on screen not the Dialog Box itself. What do you mean by "echo"? Can you post a screen-shot? It may be something related to your video-card, not solvable from AutoLISP. Quote
aaryan Posted June 3, 2014 Author Posted June 3, 2014 I am extremely sorry guys to get late again as I was out for a project. Mr.Mircea Please see the attachment. Hope to get the solution soon. Regards Quote
MSasu Posted June 3, 2014 Posted June 3, 2014 I'm afraid still don't have a clear picture on what happend; what remain on screen is the entire dialog or just a part of it? Did you checked where the START_DIALOG is called in your code? Quote
aaryan Posted June 16, 2014 Author Posted June 16, 2014 Found the link which has the same issue as mine, once the Full screen gets updated everything should get redrawn. The code is in C++ which I cannot implement in C#, Is there any sample code in c# for these functions. http://forums.autodesk.com/t5/ObjectARX/Update-Full-Screen/td-p/321018 Hope to get the solution soon. Thanks for your time. Regards 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.