Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:
- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
How can my right-panel app get the currently-selected face?
my simple right panel app registers for SELECTION notifications upon initialization, and this works fine. But there’s a usage scenario where the user selects a face before opening the app.
It would be great if upon initialization, I could request to be told about the current selections. I GUESSED that this is what the ‘requestSelection’ API request was for. But the docs indicate no required params — yet without params it throws errors. I finally got it to accept the call with a bunch of para,enters but none that make sense. I think I guessed wrong what this API does.
Any help? Better doc pages? Running examples?
thanks!
Josh
Comments
-
It can't currently be done, but I've been asking for this functionality. Submit an improvement request!
www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
Experts in Onshape Automation - Custom Features and Integrated Applications0
Categories
- All Categories
- 10.2K Community Support
- 4.6K General
- 194 Account and subscriptions
- 353 Data management
- 1.6K Product Feedback
- 215 New in Onshape
- 14 Onshape Labs
- 75 CAM Studio
- 35 PCB Studio
- 107 Simulation
- 209 Onshape Mobile
- 315 App Store & Partners Apps
- 8.2K Using Onshape
- 1.8K Drawings
- 2.3K FeatureScript
- 324 Learning Center
- 253 Education Community
