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();
StockCollection *stockCollect= manager->Stocks();
Any help please ?