<?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: Angle support python error in AutoCAD Plant 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10482418#M22348</link>
    <description>&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from aqa.math import *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import aqa.math&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import math&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, remove the quotations from&amp;nbsp;Ports="1" so it is just&amp;nbsp;&lt;STRONG&gt;Ports=1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the end of the script finish with:&lt;STRONG&gt;&amp;nbsp;return&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 14:00:03 GMT</pubDate>
    <dc:creator>ZZikic</dc:creator>
    <dc:date>2021-07-20T14:00:03Z</dc:date>
    <item>
      <title>Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10479563#M22341</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic1.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/942901i8904B6FD0DCDCFD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pic1.PNG" alt="pic1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to make a support by connecting two anglesupport as shown in the picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The corresponding py file is this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import aqa.math&lt;BR /&gt;import math&lt;BR /&gt;from varmain.divsub.cste_l import *&lt;BR /&gt;from varmain.primitiv import *&lt;BR /&gt;from varmain.var_basic import *&lt;BR /&gt;from varmain.custom import *&lt;/P&gt;&lt;P&gt;@Anonymous(Group="Support", TooltipShort="CSGE005", TooltipLong="CSGE005", LengthUnit="mm", Ports="1")&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8108781"&gt;@group&lt;/a&gt;("MainDimensions")&lt;BR /&gt;@param(D=LENGTH, TooltipLong="Pipe Diameter")&lt;BR /&gt;@param(L=LENGTH, TooltipLong="Height")&lt;BR /&gt;@param(WT=LENGTH, TooltipLong="Steelshape(T)width")&lt;BR /&gt;@param(HT=LENGTH, TooltipLong="Steelshape(T)height")&lt;BR /&gt;@param(TT=LENGTH, TooltipLong="Steelshape(T)thickness")&lt;BR /&gt;@param(WL=LENGTH0, TooltipLong="Steelshape(L)width")&lt;BR /&gt;@param(HL=LENGTH0, TooltipLong="Steelshape(L)height")&lt;BR /&gt;@param(TL=LENGTH, TooltipLong="Steelshape(L)thickness")&lt;BR /&gt;@param(LL=LENGTH, TooltipLong="Steelshape(L)length")&lt;/P&gt;&lt;P&gt;def CSGE005(s, D=116.0, L=400.0, WT=100.0, HT=0.0, TT=8.0, WL=0.0, HL=0.0, TL=0.0, LL=200.0,ID='CSGE005', **kw):&lt;BR /&gt;if TL &amp;lt;= 0.0:&lt;BR /&gt;TL = TT&lt;BR /&gt;else:&lt;BR /&gt;MD = TL&lt;BR /&gt;if HT &amp;lt;= 0.0:&lt;BR /&gt;HT = WT&lt;BR /&gt;if WL &amp;lt;= 0.0:&lt;BR /&gt;WL = HT + TL&lt;BR /&gt;if HL &amp;lt;= 0.0:&lt;BR /&gt;HL = WL&lt;BR /&gt;R = D / 2.0&lt;BR /&gt;LT = L - R&lt;BR /&gt;o0 = CSTE_L(s, W=WL, H=HL, T=TL, L=LL).rotateX(-90.0).rotateZ(180).translate((TL / 2.0, LL / 2.0, -(R + HL / 2.0)))&lt;BR /&gt;o1 = CSTE_L(s, W=WT, H=HT, T=TT, L=LT).rotateY(180.0).rotateZ(180).translate((0.0, 0.0, -R))&lt;BR /&gt;&lt;BR /&gt;o0.uniteWith(o1)&lt;BR /&gt;o1.erase()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;s.setPoint((0, 0, 0), (-1, 0, 0))&lt;BR /&gt;s.setLinearDimension('L', (0, 0, 0), (0, 0, -L))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried TESTACPSCRIPT . But it doesn't run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 14:27:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10479563#M22341</guid>
      <dc:creator>csl24R6N</dc:creator>
      <dc:date>2021-07-19T14:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10479651#M22342</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9462558"&gt;@csl24R6N&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried TESTACPSCRIPT . But it doesn't run. &lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can you provide some details? Is there an error message or anything in the command line showing what the problem is?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 14:52:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10479651#M22342</guid>
      <dc:creator>jabowabo</dc:creator>
      <dc:date>2021-07-19T14:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10480804#M22343</link>
      <description>&lt;P&gt;PLANTREGISTERCUSTOMSCRIPTS works without problems, but after that, TESTACPSCRIPT gives an error&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 23:47:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10480804#M22343</guid>
      <dc:creator>csl24R6N</dc:creator>
      <dc:date>2021-07-19T23:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10480839#M22344</link>
      <description>&lt;P&gt;Help me understand why you didn't include what the error message states.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 00:14:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10480839#M22344</guid>
      <dc:creator>jabowabo</dc:creator>
      <dc:date>2021-07-20T00:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10480859#M22345</link>
      <description>&lt;P&gt;Geometry can not be generated with the given parameters.nil&amp;nbsp; /&amp;nbsp;An error pops up like this&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 00:26:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10480859#M22345</guid>
      <dc:creator>csl24R6N</dc:creator>
      <dc:date>2021-07-20T00:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10481240#M22346</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9462558"&gt;@csl24R6N&lt;/a&gt;&amp;nbsp;correct the line as shown in image.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 799px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/943101i861575FE6F915C26/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 04:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10481240#M22346</guid>
      <dc:creator>plantinfo28</dc:creator>
      <dc:date>2021-07-20T04:48:46Z</dc:date>
    </item>
    <item>
      <title>Betreff: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10481807#M22347</link>
      <description>&lt;P&gt;was this imported variant created by you?&lt;BR /&gt;"&lt;FONT color="#FF0000"&gt;from varmain.divsub.cste_l import *&lt;/FONT&gt;"&lt;BR /&gt;if ha please include the path, the user-defined scripts are not loaded automatically.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 09:38:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10481807#M22347</guid>
      <dc:creator>h_eger</dc:creator>
      <dc:date>2021-07-20T09:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Angle support python error</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10482418#M22348</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from aqa.math import *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import aqa.math&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import math&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, remove the quotations from&amp;nbsp;Ports="1" so it is just&amp;nbsp;&lt;STRONG&gt;Ports=1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the end of the script finish with:&lt;STRONG&gt;&amp;nbsp;return&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:00:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/angle-support-python-error/m-p/10482418#M22348</guid>
      <dc:creator>ZZikic</dc:creator>
      <dc:date>2021-07-20T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

