<?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: GDL variant in c# programming in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159330#M5161</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for ur reply. yes, it was me who posted tat thread with the name vidhyaravichandar(since somehow i cudnt access this account. Here onwards i will be using only this id) sorry for any inconvinenence...&lt;BR /&gt;
&lt;BR /&gt;
Coming to my question,&lt;BR /&gt;
&lt;BR /&gt;
Actually, im not using API and not processing xml file.&lt;BR /&gt;
Outside Archicad, using ODBC connection, im trying to do listing. Im reading the pla file, to get the parameter value which is GDL variant and use it in my application. I tried a sql query inside archicad to get a GDL variant, it is working fine. Now in my application, i need to get this GDL variant. But i cudnt do tat, since i dont know how to convert this GDLvariant to any other datatype...&lt;BR /&gt;
&lt;BR /&gt;
if my info is not sufficient for u, plz let me know...&lt;BR /&gt;
&lt;BR /&gt;
Can u plz help me to know how to convert GDLvariant to any other datatype? is it not possible to convert? Do u have any idea to do so?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank u for ur time n consideration</description>
    <pubDate>Mon, 20 Jul 2009 02:15:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-20T02:15:35Z</dc:date>
    <item>
      <title>GDL variant in c# programming</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159326#M5157</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
Im using c# programming language.&lt;BR /&gt;
&lt;BR /&gt;
I can get the parameters from parameters_of_objects table while  i execute the query in archicad. While i use c# programming datareader to execute the same command(which is working in archicad environment), its not working, it throws an error. Becoz the parameter_value is a "GDLvariant" &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Could anyone please tell me how to covert GDLvariant to string?&lt;BR /&gt;
&lt;BR /&gt;
or &lt;BR /&gt;
&lt;BR /&gt;
is there any other way to make use of GDLvariant in c# programming?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 14:39:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159326#M5157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-23T14:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: GDL variant in c# programming</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159327#M5158</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I've moved this question to the developer forum, since there is no C# interface to anything within ArchiCAD itself.  In terms of the API, for any language other than C and C++ you are on your own.  Perhaps someone has attempted to do some C# interfacing.  Personally, C# being a Microsoft-invented and non-open language, I do not recommend that anyone even consider it.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Fri, 17 Jul 2009 14:56:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159327#M5158</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-07-17T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: GDL variant in c# programming</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159328#M5159</link>
      <description>ok... then regardless of any language, there shud be a way to convert GDLvariant to string or to any other datatype, right ?&lt;BR /&gt;
&lt;BR /&gt;
Can we convert GDLvariant to any other datatype?</description>
      <pubDate>Sat, 18 Jul 2009 04:03:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159328#M5159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-18T04:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: GDL variant in c# programming</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159329#M5160</link>
      <description>AFAIK, there is no variant parameter type accessed from the API when library parts (GDL) are accessed...&lt;BR /&gt;
&lt;BR /&gt;
See API_AddParType for the struc/union and API_AddParID for the parameter type flag.&lt;BR /&gt;
&lt;BR /&gt;
From your other thread (I assume it is you with a nearly identical userid?) about SQL, perhaps you are trying to automate a SQL query rather than program an add-on?&lt;BR /&gt;
&lt;BR /&gt;
Or are you automating the query using an add-on and utilizing APIAny_ExecuteSQLQueryID and then attempting to process the resulting xml file?&lt;BR /&gt;
&lt;BR /&gt;
Please state completely and clearly what you are attempting so that someone can help you.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 18 Jul 2009 14:50:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159329#M5160</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-07-18T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: GDL variant in c# programming</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159330#M5161</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for ur reply. yes, it was me who posted tat thread with the name vidhyaravichandar(since somehow i cudnt access this account. Here onwards i will be using only this id) sorry for any inconvinenence...&lt;BR /&gt;
&lt;BR /&gt;
Coming to my question,&lt;BR /&gt;
&lt;BR /&gt;
Actually, im not using API and not processing xml file.&lt;BR /&gt;
Outside Archicad, using ODBC connection, im trying to do listing. Im reading the pla file, to get the parameter value which is GDL variant and use it in my application. I tried a sql query inside archicad to get a GDL variant, it is working fine. Now in my application, i need to get this GDL variant. But i cudnt do tat, since i dont know how to convert this GDLvariant to any other datatype...&lt;BR /&gt;
&lt;BR /&gt;
if my info is not sufficient for u, plz let me know...&lt;BR /&gt;
&lt;BR /&gt;
Can u plz help me to know how to convert GDLvariant to any other datatype? is it not possible to convert? Do u have any idea to do so?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank u for ur time n consideration</description>
      <pubDate>Mon, 20 Jul 2009 02:15:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159330#M5161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-20T02:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: GDL variant in c# programming</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159331#M5162</link>
      <description>See this discussion:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=26969" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... hp?t=26969"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=26969&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Sorry that there is nothing easy there.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Mon, 20 Jul 2009 15:40:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-variant-in-c-programming/m-p/159331#M5162</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-07-20T15:40:50Z</dc:date>
    </item>
  </channel>
</rss>

