Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to search for all points in CATPart using CAA

Status
Not open for further replies.

22555

Automotive
Dec 17, 2003
24
US
Hi

In CAA V5, I am able to find the specification container and Mechanical Feature using

CATIPrtPart_var spPrtPart = spSpecOnPart;

Now I need to find out all points inside the part. Example is shown below

Capture_zw83uf.jpg


Could you please direct me for right APIs to use?

I tried the following, but while comparing, 3D part contains 10 points. but output of below code is 24. Is this pulling topology as well?

CATIDescendants_var hDescendant(spSpecOnPart);
CATListValCATISpecObject_var hPointlist;
hDescendant->GetAllChildren(CATIGSMPoint::ClassName(), hPointlist);

int NbPrtPoints = hPointlist.Size();

Thanks in Advance

22555
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top