• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Buzzsaw Developer

    Reply
    Member
    Posts: 4
    Registered: ‎05-28-2008

    Get 'LockStatus' of a file

    1188 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

    Next

    Thanks!
    Please use plain text.