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

iLogic to Read Current View Representation in Part File

Hi All,

I'm looking for the iLogic code to read which view rep is currently active in a part file so that I can then perform a few mods to the part via IF statements. I can't however find a way to read the active view representation from existing snippets or forum posts. 

Example....

Dim oViewRep as ??????????????????????

If oViewRep = "View1" Then Mods to part... Else Other mods to part....  End If


Any help on reading the existing view rep would be appreciated.