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.
Sketches Created in Featurescript No Longer Appearing Under Feature

I have a feature written in Featurescript that creates a number of sketches. Previously, they were all showing up under the feature's details (when expanding the feature via arrow), but something changed and now they aren't. I'm not sure what changed.
What determines whether they show up? I don't get any arrow at all now next to the feature.
Best Answer
-
asher_haig Member Posts: 16 ✭
The problem turns out to be due to how the Id was being formed, I believe because the Id hierarchy was being broken. Fixing the Id assignments resolved the issue.
1
Answers
I'd guess either you're deleting the sketches with opDelete() or they're not being created in the first place. Maybe you forgot to add a skSolve()?
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Working for me. Share a document?
Definitely not deleting, definitely solving. The sketches show up as parts, just not in the list.
Ah, the sketch is empty. It should show once you add geometry to it.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Is it possibly something that I inadvertently toggled in the document settings-wise? It seems that the ability to hide the feature is also missing, which surprises me.
OK— that solved the example case.
But my actual feature has contents in each sketch and still isn't showing up.
I will have to try to create another example to show.
The problem turns out to be due to how the Id was being formed, I believe because the Id hierarchy was being broken. Fixing the Id assignments resolved the issue.
Oh interesting that makes sense. Thanks for reporting back on your fix. It really helps people with similar issues searching the forum.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com