The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#83147 by dhs
Mon Aug 19, 2024 12:09 am
If I have a number of input forms and draw new or updated entities as a result of the form input, is there a way to have just those new/updated entities drawn on the screen before the next form is displayed?
I can understand that they are not drawn if you have logic that just displays form after form without returning control to the DataCAD State Machine.
Using the state machine I can use "callNone " to do effectively nothing between displaying the forms, but this does not update the display.
I can use "callGlobalEsc" passing key parameter of 27 (the ascii code of the Esc key), and this will force a refresh of the display from the display list. That works fine when I am in simple drawings, but the complete refresh is noticeable when there are a great many entities.
What I am looking for is a call that will just cause DataCAD to process any pending ent_draws (without having to return to one of DataCAD's input routines). ... does anybody know if there is such a call?

Thanks,
David H.

Who is online

Users browsing this forum: No registered users and 1 guest

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984