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.
Cross Highlight with custom table

Hi,
I am using custom tables but i can't manage to get the cross hightlight between the row and the corresponding part. Do you know if there is a way to activate it ? Thank you for your answer.
0
Answers
Hard to know exactly what's not working without seeing the code. But all you should have to do is put the query to the entities you want to highlight in the tableRow function.
So just
chadstoltzfus@premiercb.com
@chadstoltzfus nailed it.
Don't forget to complete Onshape's FeatureScript Fundamentals Course.
CADSharp does cover custom tables in detail in our CADSharp FeatureScript Course. But you should be set if you do what Chad mentioned.
It depends on your specific application but I've found that sometimes it's nice to grab all edges and faces of the part and pass those into the query. That way if you select any edge of the part, it will highlight it in the table row.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Great ! Thank you very much. It works well now from CustomTable to 3D but not from 3D to CustomTable. Is it normal ? Is there a way to have the cross highlight in both ways ? Thank you for your answer.
@test_user291 Are you sure your clicking the exact query that you put in the table? For example, if you put the entire part in the table, then you would need to click the entire part from the part tree in order to see it highlight the table. If you are putting edges and faces in the query too, then you will be able to click any edge or face of the part and it will highlight the corresponding row.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴