Hello All,
I created an iLogic rule which at the start of it invokes the Pick command within Inventor, here is what I have so far
This function works great for Parts placed within an Assembly.
The problem I have is when I have to Pick a part that is within a placed Assembly inside the Assembly I'm working in, therefore the kAssemblyOccurrenceFilter only selects the Assembly as a whole instead of the wanted part.
Is there any way I can include in the code to pick these parts within an Assembly?
Many thanks in advance any help would be much appreciated.
Kind Regards
Tim
Solved! Go to Solution.
Solved by matt_jlt. Go to Solution.
Try this
ThisApplication.CommandManager.Pick(kAssemblyLeafOccurrenceFilter,"Select Beam")
Regards, Matt.
Cheers Matt,
The kAssemblyLeafOccurrenceFilter did the trick, I knew it would be something easy just couldn't find which member it was.
Working code below
Many thanks for the help
Regards
Tim