<?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 Python API Input &amp;quot;Locked Out&amp;quot; in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-API-Input-quot-Locked-Out-quot/m-p/584577#M966</link>
    <description>&lt;P&gt;I am trying to write a independent and/or a associative labile to a plan via the Python ExecuteAddOnCommand interface. I simply reference the sample CreateLabel( )&amp;nbsp; and CreateLabel_Associative( ) functions demoed in the Element)Test example code. These functions work perfectly from the Test menu in the plan. But if I reference the same functions through the Python script, the function outputs are ignored and no action is taken and no error is raised.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am told by Graphisoft API technical support that the C++ API will now ignore any inputs from a Python script while Python is active. Pre-selecting a object will circumvent this limitation and will allow other functions to operate and return data. But this is not possible, in this case, since a "click point" is necessary here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am not sure this is correct since i was able to create and place labels and symbols through the same interface in previous releases. It is true that while Python is active, you can not manually select a element, or if a dialog is open, it will prevent a python script from executing. but i have never had a problem programmatically selecting and modifying a element.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IAE, does anyone know of a workaround to resolve this problem? If this is true, it effectively deprecates the Python API.&lt;/P&gt;
&lt;P&gt;Using Windows 11, API 27.3001, Python 3.11&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 10:17:18 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2024-09-26T10:17:18Z</dc:date>
    <item>
      <title>Python API Input "Locked Out"</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-API-Input-quot-Locked-Out-quot/m-p/584577#M966</link>
      <description>&lt;P&gt;I am trying to write a independent and/or a associative labile to a plan via the Python ExecuteAddOnCommand interface. I simply reference the sample CreateLabel( )&amp;nbsp; and CreateLabel_Associative( ) functions demoed in the Element)Test example code. These functions work perfectly from the Test menu in the plan. But if I reference the same functions through the Python script, the function outputs are ignored and no action is taken and no error is raised.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am told by Graphisoft API technical support that the C++ API will now ignore any inputs from a Python script while Python is active. Pre-selecting a object will circumvent this limitation and will allow other functions to operate and return data. But this is not possible, in this case, since a "click point" is necessary here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am not sure this is correct since i was able to create and place labels and symbols through the same interface in previous releases. It is true that while Python is active, you can not manually select a element, or if a dialog is open, it will prevent a python script from executing. but i have never had a problem programmatically selecting and modifying a element.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IAE, does anyone know of a workaround to resolve this problem? If this is true, it effectively deprecates the Python API.&lt;/P&gt;
&lt;P&gt;Using Windows 11, API 27.3001, Python 3.11&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:17:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-API-Input-quot-Locked-Out-quot/m-p/584577#M966</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2024-09-26T10:17:18Z</dc:date>
    </item>
  </channel>
</rss>

