Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
mat_hijs
in reply to: DamianoTasca

Since what I've made is part of an add-in it's not just one piece of code that you can copy and paste. I'm also not keen on sharing the whole add-in.

I think the best way for you to create something similar is to take it step by step and then try to combine everything into something that works for you. Here are some things you'll need:

  • User Interface (I wouldn't worry about UI too much when starting out and do this when you've figured out most of the other steps)
  • Selecting the components
  • Getting the necessary work features from the selected components
  • Creating proxies of the work features (basically a representation of the selected work feature in the context of the assembly)
  • Creating the constraints
  • Error handling

And here are some samples that may help you get started:

Feel free to ask for further help should you get stuck.