Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Darkforce_the_ilogic_guy
461 Views, 5 Replies

Selece before running the rule and not after ?

I have this ilogic code 

 

 

I force me to select an part in an assembly... but is it possible to select first and then run the code

 

my code now is this ... I want it to do the same ... but add the information for the part that are already select 

 

 

Dim oPart As ComponentOccurrence = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAssemblyLeafOccurrenceFilter, "Select FG component")