<?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: Error when getting the &amp;quot;Ampacity&amp;quot; property of GroundConductorSize in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12109124#M10743</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you for reply Jeremy!&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;The error occurs when I try to add a GroundConductorSize to a WireMaterialType using the AddGroundConductorSize method.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2016/21dcbeef-656d-7a93-144a-a4f65f3395c1.htm" target="_blank"&gt;https://www.revitapidocs.com/2016/21dcbeef-656d-7a93-144a-a4f65f3395c1.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="engrodriggo_0-1689680143321.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1241802iCFCC5F0C2982B8DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="engrodriggo_0-1689680143321.png" alt="engrodriggo_0-1689680143321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of my code generates the exception "&lt;SPAN&gt;Input string was not in a correct format" but, the&amp;nbsp;&lt;/SPAN&gt;variables i'm using in the AddGroundConductorSize method are correct. There is no error with them that could cause this exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even when i use RevitLookup to inspect any manually created GroundConductorSize, it still shows the error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="engrodriggo_1-1689680806970.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1241803iCC3086EEB8EBA93F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="engrodriggo_1-1689680806970.png" alt="engrodriggo_1-1689680806970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2023 11:51:52 GMT</pubDate>
    <dc:creator>engrodriggo</dc:creator>
    <dc:date>2023-07-18T11:51:52Z</dc:date>
    <item>
      <title>Error when getting the "Ampacity" property of GroundConductorSize</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12107977#M10741</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm facing an issue when trying to get the "Ampacity" property of a "GroundConductorSize" in my Revit project. Every time I try to access this property through Revit lookup, I receive the following error: "Input string was not in a correct format".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The strange thing is that when I try to manually create the "Ampacity" with specific values, it works correctly. However, when trying to access the property via the API, the error occurs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="engrodriggo_0-1689634807842.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1241578i74ED15E3607E0FBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="engrodriggo_0-1689634807842.png" alt="engrodriggo_0-1689634807842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a bit lost on what might be causing this error. Has anyone encountered a similar issue or have any ideas on how I can resolve it?&lt;/P&gt;&lt;P&gt;I appreciate any help or guidance you can provide!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 23:00:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12107977#M10741</guid>
      <dc:creator>engrodriggo</dc:creator>
      <dc:date>2023-07-17T23:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error when getting the "Ampacity" property of GroundConductorSize</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12108988#M10742</link>
      <description>&lt;P&gt;You say that you receive an error from RevitLookup saying&amp;nbsp;&lt;SPAN&gt; "Input string was not in a correct format". However, the image you share displays a completely different error. The Ampacity property simply returns a &lt;U&gt;long&lt;/U&gt; value:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.revitapidocs.com/2024/ae4fa6d0-70c4-3d32-94e2-9830317f5aad.htm" target="_blank"&gt;https://www.revitapidocs.com/2024/ae4fa6d0-70c4-3d32-94e2-9830317f5aad.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Furthermore, I only see a &lt;U&gt;get&lt;/U&gt; method for the&amp;nbsp;Ampacity property, and no &lt;U&gt;set&lt;/U&gt;, so I don't see how you might be manipulating it, or what any input string might have to do with such manipulation. More details needed, please, and maybe some sample code snippet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 10:22:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12108988#M10742</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-07-18T10:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error when getting the "Ampacity" property of GroundConductorSize</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12109124#M10743</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for reply Jeremy!&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;The error occurs when I try to add a GroundConductorSize to a WireMaterialType using the AddGroundConductorSize method.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2016/21dcbeef-656d-7a93-144a-a4f65f3395c1.htm" target="_blank"&gt;https://www.revitapidocs.com/2016/21dcbeef-656d-7a93-144a-a4f65f3395c1.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="engrodriggo_0-1689680143321.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1241802iCFCC5F0C2982B8DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="engrodriggo_0-1689680143321.png" alt="engrodriggo_0-1689680143321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of my code generates the exception "&lt;SPAN&gt;Input string was not in a correct format" but, the&amp;nbsp;&lt;/SPAN&gt;variables i'm using in the AddGroundConductorSize method are correct. There is no error with them that could cause this exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even when i use RevitLookup to inspect any manually created GroundConductorSize, it still shows the error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="engrodriggo_1-1689680806970.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1241803iCC3086EEB8EBA93F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="engrodriggo_1-1689680806970.png" alt="engrodriggo_1-1689680806970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 11:51:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12109124#M10743</guid>
      <dc:creator>engrodriggo</dc:creator>
      <dc:date>2023-07-18T11:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error when getting the "Ampacity" property of GroundConductorSize</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12109207#M10744</link>
      <description>&lt;P&gt;Strange behaviour. Please submit a minimal complete reproducible case with exact steps to reproduce for me to ask the development team to take a look at. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 12:27:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-when-getting-the-quot-ampacity-quot-property-of/m-p/12109207#M10744</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-07-18T12:27:55Z</dc:date>
    </item>
  </channel>
</rss>

