![]() |
【转帖】switching Layers On And Off
switching layers on and off
switching layers on and off how do i do this? i have a database to which i have added some layers and some blocks. that all seems fine, but i now want to turn off and on the display of some of the layers. i've tried the playerrec->setisoff() call, but that seems to have no effect on the display, although if i do a playerrec->isoff() call afterwards, i get the expected reply, i.e. it seems to have set the state correctly. it's just the display of the layer which seems to be unaffected. have i missed something? more info in fact, the layers are being switched on and off correctly. if i save the drawing after switching the layers, then when i reload it, it shows the correct state of on/off they should have. so the only thing to sort out is why the drawing i'm displaying is not being updated to reflect the layer changes in real time. it seems you are using gs model (geometry cash). its current implementation needs regen after changing layer visibility. see also sergey slezkin |
所有的时间均为北京时间。 现在的时间是 06:18 AM. |