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.
Documentation suggestions
cory_isaacson
Member, Developers Posts: 43 PRO
As requested, I will use the forum to make documentation suggestions for FeatureScript. This will help a lot as you will have fewer requests over the long run. I'll just add to this question as I learn things that could be helpful.
And as I suggested earlier, life would be much easier if you open source the documentation in github and let users submit pull requests. You can maintain total control over testing, releases and documentation quality, and you'll get fully formatted documentation suggestions to work with (saving you and any of us that want to contributue ton of time). Every big open source project works this way, and I am only suggesting you open source FS documentation, not the source code (although that would be nice too in the future).
And as I suggested earlier, life would be much easier if you open source the documentation in github and let users submit pull requests. You can maintain total control over testing, releases and documentation quality, and you'll get fully formatted documentation suggestions to work with (saving you and any of us that want to contributue ton of time). Every big open source project works this way, and I am only suggesting you open source FS documentation, not the source code (although that would be nice too in the future).
1
Best Answer
-
ilya_baran Onshape Employees, Developers, HDM Posts: 1,215Thanks -- adding a (slightly simplified) version. The documentation already mentions featureId: "A query for all fully enclosed, 2D regions created by a sketch with the specified feature id." -- is there a reason you want it called out specifically?Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers
featureId: The unique id for the sketch that you wish to query.
filterInnerLoops:
[add] A fully contained sketch region is a region in the sketch that is enclosed in the sketch, and does not have any portion that crosses or extends beyond the sketch. For example, if a contained sketch region has a point or curve that shares a border with the enclosing sketch, it will <i>not<i> be filtered.