Jump to content

Project Sharing: Is an object checked out or on a checked-out layer?


Juliensv

Recommended Posts

Hey y'all,

 

I am writing plug-ins that are used in project sharing files, and I'm having difficulty managing project sharing-specific features.

 

I have been trying to use the "(OWN = "#")" criterion to find out whether an object is checked out to the active user or not. It seems, however that this criterion only considers objects which have been directly checked out individually, and ignores objects on checked out layers. These objects should technically be "owned" by the active user, but not according to the OWN criterion apparently.

 

To workaround this I was trying to figure out how to find whether a layer has been checked out, but I seem to have hit a wall. It doesn't seem like I can use vs.Eval with the OWN criteria on layers. Does anybody know any other way to figure this out? Thanks in advance.

Link to comment
1 hour ago, Jesse Cogswell said:

I have never used Project Sharing, but going through the documentation, could you use GetLayerProjectInfo to build a list of layers checked out by the current user?

 

Wow, I can't believe I missed that. I think I just glossed over it because of the name. Thank you!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...