![]() |
【转帖】oddbmtexttextheight crash in dd2.05.01
oddbmtext::textheight crash in dd2.05.01
oddbmtext::textheight crash in dd2.05.01 i found the case where oddbmtext::textheight method crashes. * i use version dd2.05.01(vc8 debug). * this error occurs in odreadex.exe(vc8 debug). the place where the error occurs is shown in the following. exprotocolextension.cpp 1131, "writeline(indent, dd_t("height"), tostring(pmtext->textheight()));" ( error message --> "dwgdairect error: not that kind of class") the phenomenon can be confirmed with attached dwg.(mtext-anntation.dwg) i examined the condition that an error occurred. 1.annotaive has been added to oddbmtext. 2.the problem occurs because of the order of registering anntationscale of oddbmtext. (it is a relation between anntationscale of the model space and anntationscale of oddbmtext.) ----------------------- example... cannoscale anntationscale [1:1] oddbmtext anntationscale [1:10][1:1][1:50] <--ng(corresponding scale is registered besides the top.) oddbmtext anntationscale [1:1][1:10][1:50] <--ok(it is registered at the top.) oddbmtext anntationscale [1:10][1:50] <--ok(corresponding scale is unregistered.) if there are any solutions, please let me know. attached files |
所有的时间均为北京时间。 现在的时间是 12:02 PM. |