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

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】oderror-xdatasizeexceeded (http://www.dimcax.com/hust/showthread.php?t=17649)

yang686526 2009-05-06 08:28 PM

【转帖】oderror-xdatasizeexceeded
 
oderror_xdatasizeexceeded
oderror_xdatasizeexceeded
hi everyone,
i get oderror_xdatasizeexceeded exception when trying to add xdata to object with setxdata-function. xdata's app id is "autocad_postscript_figure" and it contains many xd-strings
(kdxfxdasciistring type of resbuffers). total size of xdata is 9159 bytes. is this too much?
btw, our system never creates this kind of xdatas, it must have come from loading dwg/dxf -file into our system (possibly with a very old dwg-library).
i've attached to this post the xdata as a txt-file. see the attachment: ps.txt
best regards,
hannu summanen
attached files
the 16k per application is not a file format but autocad's limit.
starting with ac2004 all texts including the xdata are stored in unicode in dwg file and at runtime. this requires extra size.
could you attach the original dwg/dxf with this xdata to investigate the situation?
sergey slezkin


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