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.
Procedural Text?
bernhard_petri
Member Posts: 2 ✭
in Drawings
Hello dear forum members,
I've got a problem where I would like to procedurally add text in increments of 10mm to my part, stating a certain value (sort of like on a ruler). Is it possible to inject the text or change it using a variable/table inside an array of text objects?
Thanks for the help!
0
Comments
one of the tricks is in @EvanReese 's video:
it's well hidden, perhaps a checkbox in the UI would be clearer…
'right click' 'convert to expression'
I used an incremental variable called counter (using a custom feature, but this can be done manually as well), combined with a variable with an array of texts.
I couldn't get the pattern to iterate through the array in the sketch somehow, but found a custom feature called Text by @MichaelPascoe that allowed it to work.
check it out: Example Procedural text document
using excel with concatenate functionality, is usually an easy way to create an array if it is too big to type…
copy → 'paste with values' within excel → copy → paste in Onshape