Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've used this code so far:
Ptr<Selection> bodysel = ui->selectEntity("Select component", "SolidBodies"); // this works
Ptr<Base> compb = bodysel->entity(); // this works
Ptr<Component> comp = compb; //returns NUL
I'm trying to assign what I select to comp.
HELP
Dave W
Solved! Go to Solution.