Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I'm trying to add C++ code to select a component. Can someone please help?
// get all components in this design
Ptr<Components> comps = design->allComponents();
if (!comps)
return false;
size_t count = comps->count();
if (count > 1) {
// prompt user to select component here and assign to comp
}
Solved! Go to Solution.