Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
clutsa
in reply to: J.Oye

Sub ChangeiFactoryViewMember()
    Dim app As Application
    Dim IDW As DrawingDocument

    Set app = ThisApplication
    Set IDW = app.ActiveDocument
    Dim DV As DrawingView
    Set DV = IDW.ActiveSheet.DrawingViews(1)
    DV.ActiveMemberName = "iPartTest-02"
    

End Sub

You'll want to add error trapping and some code to figure out what member you want to change to but it's fairly straight forward. 

 

Edit: Sorry just realized I posted VBA code not iLogic. I'll do a new one for iLogic... just a minute.

If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State

Custom Glyph Icon for iMates