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

Hi @Cadderman ,

For the case with more View reps than positional reps, where multiple products use the same positional reps, you could use something like this ( assuming the parameter list and form are already set up).

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

Curtis_Waguespack_0-1655226335635.png

 

 

Select Case ProductConfig

	Case "Product Type 1"
		oViewRep = "Product Type 1"
		oPosRep = "PosView1"
	Case "Product Type 2"
		oViewRep = "Product Type 2"
		oPosRep = "PosView2"
	Case "Product Type 3"
		oViewRep = "Product Type 3"
		oPosRep = "PosView1" 
End Select


Dim oDoc As Document
Dim oDef As ComponentDefinition
oDoc = ThisApplication.ActiveDocument
oDef = oDoc.ComponentDefinition

oDef.RepresentationsManager.DesignViewRepresentations.Item(oViewRep).Activate
oDef.RepresentationsManager.PositionalRepresentations.Item(oPosRep).Activate

ThisApplication.ActiveView.Fit