Anyone have a clue what (if) am I doing wrong here - trying to check whether the correct kind of object is the current "In-Work" object:
oAny = part1.InWorkObject;
hybridBody1 = hybridBodies1.Item(1);
if ( oAny.GetType().IsInstanceOfType(hybridBody1) ) hybridBody1 = (HybridBody)oAny;
(for instance, I want to intercept the case when the PartBody, as a non-HybridBody object is set as "In-Work")
The code runs, but doesn't detect the ab.m. case.