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 scripts

Hello everyone, I was hoping someone can give me guidance on how to create a fully customized table , for mass properties, withe specific density for each material. Its basicallyto show the current, mass if i were to assign the material, ive been strugglingthe whole day but cant for the love of me figure this out , any inputwould be reallygreatly appreciated.
0
Answers
I fixed a few issues in your custom table… try this now: https://cad.onshape.com/documents/bcb49665ab815049abfc33a0/w/f05bf45252300e5c0fbe04b3/e/14f645ee405326a00c3fd52d
You had missed a few things with the maps references needed to be made to the key e.g.
densities[material.key]
Also your helper function
computeMasses
needed to be outside the custom table function…Now that's some first class forum support! ⬆️
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴