I have a simple SolidEdge assembly which has two child parts . This assembly is modeled using virutal component method.The assembly sketches drive the child component dimensions.When I rename the root assembly , the link between the child and parent is lost.When I update the sketch values in root assembly they are not reflecting in the child components. I fixed the broken links using RevisionManager interactively. I need the same thing to be done using the SolidEdge API.
I tried it using the FindBrokenLinks() function in RevisionManager.But the function is crashing.Please check the code and help me out.
I am using SolidEdge V18.
The code is as follows:
void SEMgr::UpdateLinks(CString ReplaceCmpt)
bool initOK = false;
hres = CoInitialize(NULL);
initOK = true;