<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Check in DWG to Vault from Plant in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/check-in-dwg-to-vault-from-plant/m-p/11250618#M12659</link>
    <description>&lt;P&gt;I found the right way to add a dwg to Plant PID project is first add it to the Project with this method&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.ProjectManager.PnIdProject.AddPnPDrawingFile&lt;/P&gt;&lt;P&gt;Then upload and checkin with this method&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.PlantInstance.PlantApplication.CurrentProject.DocumentService.AddProjectItem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later on checkout and checkin&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.PlantInstance.PlantApplication.Curren.AddPnPDrawingFiletProject.DocumentService.CheckOut&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.PlantInstance.PlantApplication.Curren.AddPnPDrawingFiletProject.DocumentService.CheckIn&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 07:57:52 GMT</pubDate>
    <dc:creator>kdaTZK4A</dc:creator>
    <dc:date>2022-06-22T07:57:52Z</dc:date>
    <item>
      <title>Check in DWG to Vault from Plant</title>
      <link>https://forums.autodesk.com/t5/net-forum/check-in-dwg-to-vault-from-plant/m-p/11238721#M12658</link>
      <description>&lt;P&gt;I am stock doing check in to Vault after adding it to my Plant project.&lt;/P&gt;&lt;P&gt;I am using&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Autodesk.DataManagement.Client.Framework.Vault.Services.Connection&lt;/SPAN&gt;.FileManager.CheckinFile&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But this requires a Vault file.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So I Add it by&lt;BR /&gt;&lt;SPAN&gt;Autodesk.DataManagement.Client.Framework.Vault.Services.Connection&lt;/SPAN&gt;.FileManager.AddFile&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CheckIn requires the file to be checkedout so I first do a&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Autodesk.DataManagement.Client.Framework.Vault.Services.Connection.FileManager.AcquireFiles&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This leaves me with the dwg in the vault in some odd state and the dwg in the Plant project is still not checked in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with the correct solution&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:34:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/check-in-dwg-to-vault-from-plant/m-p/11238721#M12658</guid>
      <dc:creator>kdaTZK4A</dc:creator>
      <dc:date>2022-06-16T06:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Check in DWG to Vault from Plant</title>
      <link>https://forums.autodesk.com/t5/net-forum/check-in-dwg-to-vault-from-plant/m-p/11250618#M12659</link>
      <description>&lt;P&gt;I found the right way to add a dwg to Plant PID project is first add it to the Project with this method&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.ProjectManager.PnIdProject.AddPnPDrawingFile&lt;/P&gt;&lt;P&gt;Then upload and checkin with this method&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.PlantInstance.PlantApplication.CurrentProject.DocumentService.AddProjectItem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later on checkout and checkin&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.PlantInstance.PlantApplication.Curren.AddPnPDrawingFiletProject.DocumentService.CheckOut&lt;/P&gt;&lt;P&gt;Autodesk.ProcessPower.PlantInstance.PlantApplication.Curren.AddPnPDrawingFiletProject.DocumentService.CheckIn&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 07:57:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/check-in-dwg-to-vault-from-plant/m-p/11250618#M12659</guid>
      <dc:creator>kdaTZK4A</dc:creator>
      <dc:date>2022-06-22T07:57:52Z</dc:date>
    </item>
  </channel>
</rss>

