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.
How can I use Model file Attribute as Text for Serface Text

How can I use Model file Attribute as Text for Serface Text
I would like to automatically emboss my parts with a Part, Rev and/or Branch Number. I can see that I can use/convert text input to an expression, but how can I automatically access the Model Attributes within the expression?
—Eldonb
Tagged:
0
Comments
You could the custom feature Get/Set Property.
Note that when getting properties, onshape does this after the feature tree. This means that custom features can't view these data changes live. So if that property ever changes, you will have to manually open the feature and press the refresh button.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴