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

Hi Alex, 

 

Thanks for fast reply and a bounch of information. 

In fact our team use the Vault aplication and we're working only on single project file. 

So problem with unresolved files occures really rarely. 

But because I would like to be sure my rule works 100% reliably before I'll redistribute it to all users I need to check if it would work with all our files. 

Right now it looks not bad but there are still two problems I've mantioned above. 

One with unresolved files (most of them are parts from content center library - If anybody uses different from project library). I'm wondering about using the snippet of code given by frederic but I'm not sure which part I can cut to adapt the code to iLogic syntax.

Second one is problem with switching the view representation into main. 

Now I have a piece of code wich should be able to do that but it's not working.

SyntaxEditor Code Snippet

Dim oLOD As LevelOfDetailRepresentation 
    
    Try
    oLOD = oDoc.RepresentationsManager.LevelOfDetailRepresentations.Item("G��wna").Activate(True)
    Catch
    MessageBox.Show("Wyst�pi� problem z uaktywnieniem reprezentacji widoku - G��wna", "iLogic")
    Exit Sub
    End Try