Buzzsaw Developer

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

Get 'LockStatus' of a file

1517 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


Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
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.

Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!