• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk Vault Customization

    Reply
    Distinguished Contributor
    amitk_189
    Posts: 168
    Registered: ‎12-15-2011
    Accepted Solution

    Checkout

    127 Views, 2 Replies
    12-17-2012 02:18 AM

    Hello,

    Am stuck up in file check out event, actually slightly modified my code so that the current proccess is FileCheckOut-Update-FileCheckin. 

     

    I used

     mgr.DocumentService.CheckoutFile(folder.Id,file.Id,CheckoutFileOptions.Master,"DUMMY","D:\\Temp\\Test\\","",DownloadOptions.Download,false,

     

    Issue: what should i specify the last option, that is Out ByteArray FileContents and will this option checks out a file

    Please use plain text.
    Employee
    Posts: 643
    Registered: ‎12-12-2006

    Re: Checkout

    12-17-2012 05:14 AM in reply to: amitk_189

    You create a new ByteArray variable and pass that in.  For C# you use the 'out' keyword.

    The CheckinFile page has some exampe code.



    Doug Redmond
    Software Engineer
    Autodesk, Inc.
    http://justonesandzeros.typepad.com/

    Please use plain text.
    Distinguished Contributor
    amitk_189
    Posts: 168
    Registered: ‎12-15-2011

    Re: Checkout

    12-17-2012 08:36 PM in reply to: amitk_189

    Ok Doug, I will work on It. Thanks for Information.

     

     

    Thanks and Regards

    Amit

    Please use plain text.