![]() |
【转帖】using Region Boolean Operators
using region boolean operators
using region boolean operators hi, when attempting to use the boolean operator for the oddbregion class i seem to get an "undefined" odresult from the operation. here is an example of the code i'm attempting to execute: code: pregion->upgradeopen(); psubtractregion->upgradeopen(); pregion->booleanoper(oddb::kboolsubtract, (oddbregion*)psubtractregion.get()); psubtractregion->downgradeopen(); pregion->downgradeopen();i'm assuming the function might be unimplemented, but hoping that i have just forgotten to load a required module. i'm currently using dwgdirect v2.4.2 but can move to newer versions if necessary. boolean operations are not implemented. they are available only with spamodeler module. you should have spatial library and licence to use it. where are 2 implementations of modelergeometry module responsible for supporting acis objects: "home made" and based on native spatial library. boolean operations are implemented only in spatial modeler which requires spatial license. but non-spatial modeler implementation should return enotimplemented. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 09:51 AM. |