Rob Edwards

Insert Part Configurations Macro

Discussion created by Rob Edwards on Jun 15, 2018
Latest reply on May 27, 2019 by Rob Edwards

Good Morning All

 

I thought I would share this little macro. I wrote it mostly for fun and learning but I sometimes use this technique so I find it quite useful.

 

I tried to replicate the behaviour of the standard Insert Part command, but there is the option to choose one / multiple or all configurations directly from the property manager page

.

 

I find this useful for patterns that are difficult by other means, for me this is generally something like creating the treads on an irregular curved staircase, but here's a simple silly example.

I have a part with multiple configurations created by Design Table,,, just a circle on a line whose position and diameter increase incrementally to the total length

You can then insert ALL the configs in one click!

 

Macro and 2016 sample attached

 

Message was edited by: Rob Edwards I DISCOVERED A BUG THAT CRASHES SW IF YOU DO NOT SELECT ANY OPTIONS. I'LL FIX IT WHEN I GET ROUND TO IT

 

 

Message was edited by: Rob Edwards I finally got around to fixing a couple of little bugs and adding a few improvements.  Please let me know if you find any problems.

Outcomes