<?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 Changes to Data Manager not propagating to Autodesk Construction Cloud in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12845091#M3569</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wrote some code in C# to get some data from the PID database and to update the P3D database then the Tag fields match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it and it works locally, but the changes don't propagate to the Construction Cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var projPid = currentProj.ProjectParts["PnID"];&lt;BR /&gt;var dlmPid = projPid.DataLinksManager;&lt;BR /&gt;var dbPid = dlmPid.GetPnPDatabase();&lt;BR /&gt;var drawingsTable = dbPid.Tables["PipeLineGroup"];&lt;BR /&gt;var allPidPipes = drawingsTable.Select("Description='PIPE LINE GROUP'");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var projP3d = currentProj.ProjectParts["Piping"];&lt;BR /&gt;var dlmP3d = projP3d.DataLinksManager;&lt;BR /&gt;var dbP3d = dlmP3d.GetPnPDatabase();&lt;BR /&gt;drawingsTable = dbP3d.Tables["P3dLineGroup"];&lt;BR /&gt;var allP3dPipes = drawingsTable.Select("Tag like '%'");&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;foreach ( var p in allPidPipes )&lt;BR /&gt;{&lt;BR /&gt;PnPRow partRowPID = dbPid.GetRow(Convert.ToInt32(p["PnPID"]));&lt;BR /&gt;var linePID = $"{p["Service"]}{p["Secteur"]}{p["Page"]}{p["LineNumber"]}";&lt;/P&gt;&lt;P&gt;var partRowP3D = allP3dPipes.FirstOrDefault(e =&amp;gt; e["Tag"].ToString() == linePID);&lt;BR /&gt;if ( partRowP3D != null )&lt;BR /&gt;{&lt;BR /&gt;ed.WriteMessage($"linePID={linePID}, partRowP3D={partRowP3D["Tag"]}");&lt;BR /&gt;partRowP3D.SetPropertyValue("test", "TESTAAA");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 19:50:51 GMT</pubDate>
    <dc:creator>Sonny_Dethier</dc:creator>
    <dc:date>2024-06-17T19:50:51Z</dc:date>
    <item>
      <title>Changes to Data Manager not propagating to Autodesk Construction Cloud</title>
      <link>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12845091#M3569</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wrote some code in C# to get some data from the PID database and to update the P3D database then the Tag fields match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it and it works locally, but the changes don't propagate to the Construction Cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var projPid = currentProj.ProjectParts["PnID"];&lt;BR /&gt;var dlmPid = projPid.DataLinksManager;&lt;BR /&gt;var dbPid = dlmPid.GetPnPDatabase();&lt;BR /&gt;var drawingsTable = dbPid.Tables["PipeLineGroup"];&lt;BR /&gt;var allPidPipes = drawingsTable.Select("Description='PIPE LINE GROUP'");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var projP3d = currentProj.ProjectParts["Piping"];&lt;BR /&gt;var dlmP3d = projP3d.DataLinksManager;&lt;BR /&gt;var dbP3d = dlmP3d.GetPnPDatabase();&lt;BR /&gt;drawingsTable = dbP3d.Tables["P3dLineGroup"];&lt;BR /&gt;var allP3dPipes = drawingsTable.Select("Tag like '%'");&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;foreach ( var p in allPidPipes )&lt;BR /&gt;{&lt;BR /&gt;PnPRow partRowPID = dbPid.GetRow(Convert.ToInt32(p["PnPID"]));&lt;BR /&gt;var linePID = $"{p["Service"]}{p["Secteur"]}{p["Page"]}{p["LineNumber"]}";&lt;/P&gt;&lt;P&gt;var partRowP3D = allP3dPipes.FirstOrDefault(e =&amp;gt; e["Tag"].ToString() == linePID);&lt;BR /&gt;if ( partRowP3D != null )&lt;BR /&gt;{&lt;BR /&gt;ed.WriteMessage($"linePID={linePID}, partRowP3D={partRowP3D["Tag"]}");&lt;BR /&gt;partRowP3D.SetPropertyValue("test", "TESTAAA");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 19:50:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12845091#M3569</guid>
      <dc:creator>Sonny_Dethier</dc:creator>
      <dc:date>2024-06-17T19:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to Data Manager not propagating to Autodesk Construction Cloud</title>
      <link>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12846831#M3570</link>
      <description>&lt;P&gt;Have you tried checking out all affected drawings prior to running your code?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 13:50:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12846831#M3570</guid>
      <dc:creator>jabowabo</dc:creator>
      <dc:date>2024-06-18T13:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to Data Manager not propagating to Autodesk Construction Cloud</title>
      <link>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12847494#M3571</link>
      <description>&lt;P&gt;You mean I have to go drawing by drawing if I want to change properties?&lt;/P&gt;&lt;P&gt;I can't just make changes in the&amp;nbsp;P3dLineGroup table and somehow save the changes?&lt;BR /&gt;&lt;BR /&gt;Typically, what I want to do is take the line designation table information taken from the PIDs and sync it with the lines in the P3DLineGroup table where tags match so I can map the P3DLineGroup fields in my isometrics.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 17:56:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12847494#M3571</guid>
      <dc:creator>Sonny_Dethier</dc:creator>
      <dc:date>2024-06-18T17:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to Data Manager not propagating to Autodesk Construction Cloud</title>
      <link>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12847534#M3572</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12797900"&gt;@Sonny_Dethier&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You mean I have to go drawing by drawing if I want to change properties?&lt;/P&gt;
&lt;P&gt;I can't just make changes in the&amp;nbsp;P3dLineGroup table and somehow save the changes?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm not certain. I'd guess you'll either need to checkout the project settings or the drawings while running your code then check back in for the ACC data to update.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 18:15:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12847534#M3572</guid>
      <dc:creator>jabowabo</dc:creator>
      <dc:date>2024-06-18T18:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to Data Manager not propagating to Autodesk Construction Cloud</title>
      <link>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12879017#M3573</link>
      <description>&lt;P&gt;In order for Autodesk Construction Cloud to know a change was made in the drawing, you have to update the PnPBase table. Find the PnPID and update the PnPTimestamp to the current time in Ticks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you check in the drawing, the changes will be propagated to ACC.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 19:56:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/changes-to-data-manager-not-propagating-to-autodesk-construction/m-p/12879017#M3573</guid>
      <dc:creator>Sonny_Dethier</dc:creator>
      <dc:date>2024-07-04T19:56:42Z</dc:date>
    </item>
  </channel>
</rss>

