Buzzsaw Developer

Posts: 4
Registered: ‎05-28-2008
Message 1 of 1 (1,497 Views)

Get 'LockStatus' of a file

1497 Views, 0 Replies
01-30-2009 03:42 PM
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


Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New Buzzsaw Category!

The Buzzsaw forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.