Hi @jasonrecords
This is accessed from the below rule. See API links for how to navigate and create the below rule.
AssemblyComponentDefinition
PosRepManager
ActivePosRep
Name
Dim AssyDoc As AssemblyDocument = ThisDoc.Document
Dim AssyDef As AssemblyComponentDefinition = AssyDoc.ComponentDefinition
Dim RepMan As RepresentationsManager = AssyDef.RepresentationsManager
Dim ActivePos As PositionalRepresentation = RepMan.ActivePositionalRepresentation
If ActivePos.Name ="1" Then
MessageBox.Show("Success")
End If
Running the rule and detecting the position change will need an event trigger which can be complicated. A work around is to use a form and change a text parameter, this could then be used to change the active pos rep and the rest of the rule. It will depend on how you want to run the rules to function.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan