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.
how to trigger reportFeatureInfo in forEachEntity?
I'm using forEachEntity to iterate over a query. Some of the operations may fail and I want to let the user know when they do. It seems like reportFeatureWarning and reportFeatureInfo don't do anything when inside the loop. I also tried making a boolean variable isError outside the loop to change inside the loop, but inside the loop it's treated as a const, which I can't edit. How might I solve this?
Evan Reese / Principal and Industrial Designer with Ovyl