opBoolean: CANNOT_RESOLVE_ENTITIES
mko_sc
Member Posts: 27 PRO
Can someone help me understand why I have the error: @opBoolean: CANNOT_RESOLVE_ENTITIES
I read on the forum that you probably need a "qUnion" of the various bodies, and I didn't understand what to do
I have:
1 body selected:
debug(context, definition.targetsF, DebugColor.GREEN);
1 body created:
var utensile = qCreatedBy(id + "extrude6", EntityType.BODY);
where am i wrong?
var utensile = qCreatedBy(id + "extrude6", EntityType.BODY);
debug(context, utensile, DebugColor.RED);
println("-----utensile.....:" ~ utensile ~ "------------" ~ "***");
debug(context, definition.targetsF, DebugColor.GREEN);
println("-----definition.targetsF...:" ~ definition.targetsF ~ "------------" ~ "***");
opBoolean(context, id + "boolean1", {
"operationType" : BooleanOperationType.SUBTRACTION,
"tools" : utensile,
"target" : definition.targetsF,
});
Thanks
0
Comments
-
I think the error is: it's targets, not target in the opBooleanIlya Baran \ VP, Architecture and FeatureScript \ Onshape Inc0
-
it should be "targets" field in opBoolean(), not "target"
1 -
i am shocked ... 3 days i try them all! :'(Solved thanks0


