<?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: Structure Connected Pipes Invert Level in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592712#M6263</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss1.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/960148iBAF07086C5A773FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss1.gif" alt="ss1.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 07:08:21 GMT</pubDate>
    <dc:creator>hosneyalaa</dc:creator>
    <dc:date>2021-09-02T07:08:21Z</dc:date>
    <item>
      <title>Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10586370#M6260</link>
      <description>&lt;P&gt;Hi, I am trying to extract the connected pipe(s) invert level using VB script. I am new to Civil3D .net api. I would like to be able iterate it for multiple connected pipes. The script I wrote looks like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RESULT="--"&lt;BR /&gt;On Error Resume Next&lt;BR /&gt;Set oApp=GetObject(, "AutoCAD.Application")&lt;BR /&gt;Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.13.2")&lt;BR /&gt;Set obj=oCivilApp.ActiveDocument.HandleToObject("[Handle]")&lt;BR /&gt;RESULT= obj.ConnectedPipe.InvertLevel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grateful if somebody could provide some help.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 04:03:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10586370#M6260</guid>
      <dc:creator>ronald.parangat</dc:creator>
      <dc:date>2021-08-31T04:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10589940#M6261</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;look at this&lt;BR /&gt;can help you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/civil-3d-forum/property-sets-and-invert-elevation/td-p/7932587" target="_blank"&gt;https://forums.autodesk.com/t5/civil-3d-forum/property-sets-and-invert-elevation/td-p/7932587&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 09:02:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10589940#M6261</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-09-01T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592247#M6262</link>
      <description>&lt;P&gt;Thanks for your reply. I have seen this thread. But I want to extract the connected pipes invert level within the structure. To be more precise, I want to be able to see the pipe invert levels on the extended data property set attached to the structures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code from your link is extracting the pipe invert levels on the extended data property set attached to the pipes. I am using that code aswell.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 02:16:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592247#M6262</guid>
      <dc:creator>ronald.parangat</dc:creator>
      <dc:date>2021-09-02T02:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592712#M6263</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss1.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/960148iBAF07086C5A773FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss1.gif" alt="ss1.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:08:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592712#M6263</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-09-02T07:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592718#M6264</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss3.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/960149iB5C1DD5D02889C58/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss3.gif" alt="ss3.gif" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss2.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/960150iCBA62BE439FC5D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss2.gif" alt="ss2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:09:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592718#M6264</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-09-02T07:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592721#M6265</link>
      <description>&lt;LI-CODE lang="general"&gt;RESULT="--"

On Error Resume Next

Set oApp=GetObject(, "AutoCAD.Application")

Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.13.4")

Set obj=oCivilApp.ActiveDocument.HandleToObject("[Handle]")
sp1 = obj.PipeCenterDepth(1)
sp2 =  obj.RimElevation 
RESULT=(sp2 -sp1 )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:10:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10592721#M6265</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-09-02T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593110#M6266</link>
      <description>&lt;P&gt;This code seems to not work.&amp;nbsp; I understand the code but when I checked my sp1 is resulting in error. Im using C3d 2020 by the way. I just put "28ee" in the handle just for my example. sp2 seems to work fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="invert level a1.PNG" style="width: 931px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/960243i2B8EBE8866DD4482/image-size/large?v=v2&amp;amp;px=999" role="button" title="invert level a1.PNG" alt="invert level a1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 09:32:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593110#M6266</guid>
      <dc:creator>ronald.parangat</dc:creator>
      <dc:date>2021-09-02T09:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593120#M6267</link>
      <description>&lt;P&gt;Put (0)&amp;nbsp; indeed (1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;Attached drawing for structure&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 09:36:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593120#M6267</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-09-02T09:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593128#M6268</link>
      <description>&lt;P&gt;Oh the code works when I tried&amp;nbsp;sp1 = obj.PipeCenterDepth(2),&amp;nbsp;sp1 = obj.PipeCenterDepth(3),&amp;nbsp;sp1 = obj.PipeCenterDepth(4). Why is my pipe index 2,3,4? why not 0,1,2?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 09:39:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593128#M6268</guid>
      <dc:creator>ronald.parangat</dc:creator>
      <dc:date>2021-09-02T09:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593237#M6269</link>
      <description>&lt;P&gt;The numbers indicate the number of connected pipes&lt;BR /&gt;For the first &lt;SPAN&gt;sp1 = obj.PipeCenterDepth (0)&lt;/SPAN&gt;&lt;BR /&gt;The second&amp;nbsp;&lt;SPAN&gt;sp2 = obj.PipeCenterDepth (1)&lt;/SPAN&gt;&lt;BR /&gt;And so on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 10:33:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10593237#M6269</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-09-02T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Structure Connected Pipes Invert Level</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10601771#M6270</link>
      <description>&lt;P&gt;Seems like the index of the connected pipes does not always start with 0. For example,&amp;nbsp;&lt;SPAN&gt;one of my structures has returned the&amp;nbsp; value for the first pipe with index "2", i .e. sp1 = obj.PipeCenterDepth(2).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 02:26:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/structure-connected-pipes-invert-level/m-p/10601771#M6270</guid>
      <dc:creator>ronald.parangat</dc:creator>
      <dc:date>2021-09-06T02:26:46Z</dc:date>
    </item>
  </channel>
</rss>

