Issue is we have a lot of holes we "plug". This is done in the part file level.
I'm looking to select the hole in the feature tree (or model) and using the hole & the hole plane as selection controls ...plugging all the holes with inserted part
I've tried recording...no luck...(no surprise there)
I've checked 2018 SOLIDWORKS API Help - InsertPart2 Method (IPartDoc) , but don't see the ability to control the "insertion"
Any thoughts? or direction to look?