Showing results for 
Search instead for 
Do you mean 

Extract Ports and Stocks in C++

Hello ,

I need to extract electrical data in NX10 using NXOpen C++.

I try to loop all ports and stocks in my assembly by converting PortCollection and StockCollection to vector<Port> and vector<Stock>.

But I didn't find the best function.



NXOpen::Routing::RouteManager *manager = workPart->RouteManager();

PortCollection *ports=manager->Ports();

StockCollection *stockCollect= manager->Stocks();




Any help please ?