Dear all,
I would like to write a program to remove parameters of a body. So I use UgPart->iterateNext(pFeatObj) to find object in the part. And then I use dynamic_cast<UgBody *>(pFeatObj) to get the UgBody objects.
Then I find that there is a function deletParameters() in UgSmartObject. But I can't translate UgBody to UgSmartObject. How do I do ?
I would like to write a program to remove parameters of a body. So I use UgPart->iterateNext(pFeatObj) to find object in the part. And then I use dynamic_cast<UgBody *>(pFeatObj) to get the UgBody objects.
Then I find that there is a function deletParameters() in UgSmartObject. But I can't translate UgBody to UgSmartObject. How do I do ?