Hi @gprimonBVPBY. Below is one possible example of an iLogic rule for that type of task. To keep it simple, this example just asks you to manually select the component with your mouse when you run the rule. It then attempts to dig down into its definition, representations manager, and get the name of the active DVR (DesignViewRepresentation). Then it uses a method of the component to set that as the component's active DVR, and set that to 'Associative' at the same time.
Dim oPickedOcc As ComponentOccurrence = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAssemblyOccurrenceFilter, "Select a Component.")
If oPickedOcc Is Nothing Then Return
Dim oCD As Inventor.ComponentDefinition = oPickedOcc.Definition
Dim oRepsMgr As Inventor.RepresentationsManager = oCD.RepresentationsManager
Dim sDVR As String = oRepsMgr.ActiveDesignViewRepresentation.Name
oPickedOcc.SetDesignViewRepresentation(sDVR,,True)
Some of it will not have any 'Intellisence' hints available when you hover your mouse over it within the iLogic rule editor dialog, but it should still work. If the component was suppressed, then this code would throw an error though, because we can not do much with a suppressed component by code. If the component were a 'virtual' one, that might also throw an error, because virtual components are just for BOM purposes, and do not really reference a Document, so it would not have any DVRs.
Wesley Crihfield

(Not an Autodesk Employee)