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.
Options
Feature Script and Configurations

I would really like to have a feature script that cleanly captures and defines configuration variables similar to the way that Greg Brown did in this video. (3:15 Chassis base data) Unfortunately, I am a total Feature Script noob. Is there an example feature script I can reference to create my own? Thanks!
0
Answers
I used to have a video about doing this, but it was on an old channel. Might get around to making the updated version, but for now, my Manufacturing Variables custom feature is a decent reference for code. It's a good starter project for FS too since you don't need to deal with queries, Ids, and so on.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Use the Publish Geometry custom feature that Greg Brown uses in the YouTube video you showed.
Here's his updated video with the link to the Publish Geometry feature:
Here's a direct link to his Publish Geometry (CF) feature.
It's a truly fantastic workflow, borrowed from Creo.
If you want to learn FeatureScript, then I recommend these two resources:
FeatureScript Fundamentals by Onshape
FeatureScript Video Tutorials by CADSharp
If you don't want to use FeatureScript and would rather make the inputs with a custom feature,
Inputs custom feature.
you can do that with this
Related, but not specifically made for creating variables, is the Product Catalog custom feature.
You could easily apply the techniques from the video into a variable making feature. However, Evan's feature will be close to what Greg showed.
This walkthrough shows you how to build the Product Catalog feature from scratch in case you want to learn the techniques:
.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴