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.
Show part mass on drawing
stuart_clark048
Member Posts: 2 PRO
Is there a simple way to display the mass of a part and/or assembly in a drawing so that it remains a live link to the part studio or assembly?
0
Answers
Being a pro user, it is within your grasp. Free users will need to store the result in an existing property, like title1 or something
Here's my implementation, although it is combined with part numbering and colors, but you should be able to delete most of that out.
https://cad.onshape.com/documents/f7a56fbf62f83047ff5224f6/w/1d122164d0c55df35ec0b460/e/7785c5c58d58ecf15e9a9a2b
Be wary, if you ever modify the material of the part with Onshape's built in function, then that will override any featurescript and you will get a blank result in your property. The only way to fix it, is to force a change to the internal ID of the part. Usually by delete/recreate a feature on the tree that has created the part.
I am a new OS user (Professional license), and as far as I can see this is still not possible without scads of code. Am I missing something or is it still not possible to bring that very basic known part parameter (mass) into a note (whether in a drawing or in a sketch)? Actually I'm not seeing how to put any parameters in sketch text. I'd appreciate help from people who know more about the program. Thank you!
I am a new OS user (Professional license), and as far as I can see this is still not possible without scads of code. Am I missing something or is it still not possible to bring that very basic known part parameter (mass) into a note (whether in a drawing or in a sketch)? Actually I'm not seeing how to put any parameters in sketch text. I'd appreciate help from people who know more about the program. Thank you!
@Carolyn_Myers
You can definitely do it from a callout on a drawing (or a note using the "insert sheet reference property"), not sure about a "sketch" though (but not sure what you would do with it in a sketch!):
The note will give mass of assembly and call out will give mass of part.