![]() |
【转帖】display order
display order
display order how can i programatically: a) select all hatch objects in the drawing and b) send them to the back of the display order? to get all hatch objects you can iterate through the block and call iskindof() for each entity or use oddbsset class. to send all hatches to the back use oddbsortentstable::movetobottom(). sergey slezkin well, since i am creating these hatch objects, rather than iterate to find them, can i automatically set it to the back then? given the oddbobjectid for the hatch i have just added into the model space block, can you show me in code how to use the sortents table to move it to the bottom? if i can move each hatch to the bottom as i add them into the database, it should acheive what i wanted. use oddbblocktablerecord::getsortentstable() and oddbsortentstable::movetobelow() sergey slezkin |
所有的时间均为北京时间。 现在的时间是 07:09 AM. |