几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-05-05, 09:03 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】emtpy view window is not really empty1

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">.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】projection view from a section view yang686526 American standards 0 2009-04-29 09:32 PM
【转帖】what am i doing wrong here select view yang686526 SolidWorks二次开发 0 2009-04-13 03:23 PM
【转帖】view scale yang686526 SolidWorks二次开发 0 2009-04-13 03:17 PM
【转帖】get x,y,z of drawing view vertexedge yang686526 SolidWorks二次开发 0 2009-04-13 11:03 AM
【转帖】drawing view placements yang686526 SolidWorks二次开发 0 2009-04-13 10:35 AM


所有的时间均为北京时间。 现在的时间是 08:35 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多