emtpy view window is not really empty!
empty view window is not really empty!
hello,
using dd 1.12.01, the md libraries, and wingdi, the drawing is displayed correctly in the view window after a zoom extents but is repainted immediately with what seems like a view that is totally zoomed out. that is to say, the vectors are there but it takes several zoom ins to see the extents again (that is, without another zoom extents).
at first glance, it would appear that the view window is empty. after testing a lot of drawings, i discovered that the information is actually there! occasionally i was able to spot a small blip on the screen. after successive zoom-ins on this blip, you can see the view correctly!
what could be causing this to happen? has anybody else seen this?.
thanks ...
last edited by
robertpantangco@hotmail.com; 19th november 2004 at 08:06 amfff">.
robert, does autocad and odamfcapp display original drawing (that is too zoomed out) in same manner?
sincerely yours,
george udov
hi george,
i can't reproduce the problem in autocad or odamfcapp.
the problem occurs only if i run theapp.opendocumentfile(filename) with a double-click from the file-open dialog box. if i select the filename in the dialog box and then click on open, the problem does not occur!
the weird thing is that the problem does not happen if i step thru in debug mode. i have verified that dde is not being executed and is not the problem.
for some reason, the current view is being repainted. could the problem be in exgsgdivectorizedevice::beginpaint()?
thank you for your response.
robert
same problem occurs for me also
quote:
originally posted by robert pantangco
hi george,
i can't reproduce the problem in autocad or odamfcapp.
the problem occurs only if i run theapp.opendocumentfile(filename) with a double-click from the file-open dialog box. if i select the filename in the dialog box and then click on open, the problem does not occur!
the weird thing is that the problem does not happen if i step thru in debug mode. i have verified that dde is not being executed and is not the problem.
for some reason, the current view is being repainted. could the problem be in exgsgdivectorizedevice::beginpaint()?
thank you for your response.
robert
hi there,
the same issue occurs for me also. when i add an oddbtext entity, and first i did zoom window and then zoom extents, then the drawing will be displayed as a spot. if you zoom in several times, you can get the drawing view completely..
what could be the reason for this..?
is this a bug..?
btw i'm using the library dwg direct 1.11
tia
thanks & regards,
rajesh parameswaran
rajesh,
see the answer on your duplicated post:
sergey slezkin
rajeesh,
the behavior you described is exactly what i am experiencing but i am using dd 1.12.
apparently, i am doing something that somehow makes dd think that there is an entity far away from the drawing itself.
i have tried unsuccessfully to find the cause of the problem but i am not giving up hope yet.
how autocad zooms to extents your drawing?
sergey slezkin
quote:
originally posted by sergey slezkin
how autocad zooms to extents your drawing?
hi sergey,
the autocad zooms to extents perfectly....
but failed in the custom appln..
btw; this case exist only after adding a oddbtext entity....
thanks & regards,
rajesh parameswaran
last edited by rajuinnet; 21st december 2004 at 01:00 amfff">.