Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

[Open C++] translate UgBody to UgSmartObject

Gravecat

New member
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 ?
 

Sponsor

Articles From 3DCAD World

Back
Top