Why does this debug work before opFillet, but not after?
joshtargo
Member Posts: 679 EDU
Do a lot of these geo ops completely rebuild bodies from surfaces, wiping out their old references?
I am having the same issue when I set variables equal to some sequence of queries based on "face" and then try to reference them after the op. same thing seems to happen with opFaceBlend and opFullWrapFillet
when debug is before the op:
when debug is after the op:
0
Answers
-
transient queries of geometry are not guaranteed to stay relevant through any context changing operations. you can try using makeRobustQuery, startTracking or using positional queries like qOwnedByBody(EntityType.FACE)→qGeometry(GeometryType.PLANE)→qCoincidesWithPlane(facePlane)
CADSharp - Onshape custom programming services + Onshape mechanical design services
1


