Buzzsaw Forum Archive
Welcome to Autodesk’s Buzzsaw Forums. Share your knowledge, ask questions, and explore popular Buzzsaw topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get 'LockStatus' of a file

0 REPLIES 0
Reply
Message 1 of 1
Eddie68
1616 Views, 0 Replies

Get 'LockStatus' of a file

The 'Lockstatus' property of PPFILE returns 'True' no matter if the file is 'Locked' or 'Unlocked'. Although, 'CreationDate' displays correctly.

My VBA code

Set BuzzFlder = PPsess.GetResource(DwgFlder)
Set FileColl = BuzzFlder.Files

For Each Item In FileColl
Set MyPPFile = Item

msgbox MyPPFile.Lockstatus & " " & MyPPFile.CreationDate

Next

Thanks!
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report