![]() |
【转帖】hatch vectorization - viewport - paperspace
hatch vectorization - viewport - paperspace
hatch vectorization - viewport - paperspace hi. i have problem with getting hatch coordinate in layout( paperspace or viewport) i use code like that. in method code: shellfaceout( odint32 facelistsize, const odint32* pfacelist, const odgevector3d* pnormal ) { oddbobjectid hatchid = getobjectid(); oddbobjectptr pobject = hatchid.safeopenobject( oddb::kforread ); if( ((oddbhatchptr)pobject)->issolidfill() ) { //iterate to outline ,and get coordinate //transform ocs to wcs //how to get current viewport for current drawable ? //can i determinate that current drawable is on viewport ? } }summary ,how can i get viewport coordinate for current drawable ?,or how can i get which viewport is associative to current drawable ,when i layout vectorize? if anyone know ,please reply for my message.thanks last edited by bigos; 14th december 2007 at 01:39 amfff">. there is giviewport() member of odgibasevectorizer. is that enough? what are you trying to do anyway? vladimir |
所有的时间均为北京时间。 现在的时间是 01:14 PM. |