I'm trying to write a program using C++ and NXOpen. First programming with C++...
One of the function must extract the related nodes of each element of the model (the objective is to evaluate the center of each element).
With VB.net I would have used something like that :
... theUFSession.Sf.LocateAllMeshes(meshtag, num_of_mesh, mesh_tags_p) ... theUFSession.Sf.LocateElement(mesh_tags_p(i), num_of_elems_mesh, element_tags_p) ... mon_elem = NXOpen.Utilities.NXObjectManager.Get(element_tags_p(j)) ... Elem_Nodes = mon_elem.GetNodes ...
But I can't find the equivalent in C++
Does someone could help me ? To find the equivalent, or someother method ?
Many Thanks !
Solved! Go to Solution.
See also the interoperability sample provided with the NX installation: