I am trying to cast a taggedobject as a extract feature. When I use journaling
This line works.
std::vector<NXOpen::TaggedObject*> selectedObjects = selection0->GetSelectedObjects();
extractFace1 = dynamic_cast<NXOpen::Features::ExtractFace *>(selectedObjects);
returns a Null pointer. Any suggestions?
Solved! Go to Solution.
Try hovering the cursor for a few seconds before making the selection, to be sure you are selecting the extracted face, and not some other geometry - for example, the original face from which it was extracted.