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.
ilya_baran 
Reactions
-
Re: Function variables
With FeatureScript released, you can now do basically this, just using a Feature Studio. Create a custom feature with code like this: annotation { "Feature Type Name" : "Add My Functio… (View Post)4 -
Re: Where is the FeatureScript source for the sample Spur Gear generator?
In the Spur Gear document itself -- just click on the Feature Studio tab or go here: https://cad.onshape.com/documents/5742c8cde4b06c68b362d748/v/c65839fc6078faeb4d2aece1/e/01a666571e625f8b819fd75b (View Post)6 -
Re: accept any planar profile: faces, sketch regions, sketch objects containing regions
Simply "Filter" : GeometryType.PLANE && ConstructionObject.NO Should work. The second part is to disallow selecting construction planes. (View Post)1 -
Re: string parameter?
Yes, there is a string parameter: https://cad.onshape.com/FsDoc/uispec.html#booleans-and-strings (View Post)1 -
Re: working with FeatureList objects
The feature list is a map from feature id to function. You can pass the feature id(s) to qCreatedBy. (View Post)1


























