![]() |
【转帖】crash in setuplayoutviews
crash in setuplayoutviews
crash in setuplayoutviews hi, we've come across a couple of drawings that are crashing in setuplayoutviews when attempting to vectorize a layout. i have been able to work around this crash by first calling database->setcurrentlayout and then calling setupactivelayoutviews. i would like to know if there's any side effect of doing this. (since we don't write the dwg file, modifying it isn't an issue.) in both cases i have seen, the problem occurs in 2000 format dwg files and goes away if you save the file in 2004 format. thanks for any information, chad pdb->setactivelayout() initializes the layout (if it was not initialized yet and creates overall viewport for ps layout) it would be interesting to see an example of drawing causing the problem. sergey slezkin quote: originally posted by sergey slezkin pdb->setactivelayout() initializes the layout (if it was not initialized yet and creates overall viewport for ps layout) it would be interesting to see an example of drawing causing the problem. thanks for the reply, sergey. related to this, do you know if there is a way to detect uninitialized layouts? thanks for any information. i'll see if i can find a drawing that i can share with you. chad |
所有的时间均为北京时间。 现在的时间是 02:20 AM. |