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.
placing electrical components on a DIN RAIL

Good morning
I haven't found a quick way to assemble electrical components on a DIN rail.
Has anyone found a way to place a mate connector at the correct position on the connecting slot of the component so it can be precisely mated to a rail with a "top hat" section?
Tagged:
0
Comments
can you add a mate connector to the part in the part-studio?
Can you use the linear pattern in Assembly studio?
+1 for Jelte's answer. It's best practice to place important mate connectors on your parts at the part studio level, this way they auto populate when you place them and replicate them within an assembly. You can use the snap mode to quickly snap your parts onto the rail with the slider mate.
Here is how to simulate rail collision in assemblies.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
As Jelte wrote: Add a mate connector in the same location (e.g. upper edge of upper flange of the rail) in the respective part studios to all your components and make each part the owner of its MC. Then add one mate connector to the rail model, and maybe use a slider condition to tread them all up on the rail and maybe move along the rails as needed. That's what I usually do.