<?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 Possibilities in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243239#M1149</link>
    <description>&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;Is it possible to call an object with &lt;FONT color="#0040FF"&gt;CALL&lt;/FONT&gt; command for example and then allow to modify one of the parameters of this object ?&lt;/BLOCKQUOTE&gt;

Sure!&lt;BR /&gt;
You do it like this
&lt;PRE&gt;CALL yourmacro PARAMETERS paramInMacro = someValue&lt;/PRE&gt;

&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
Is it possible to call an object other than by its sum in the library?
&lt;/BLOCKQUOTE&gt;
??? I have no idea what you mean&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
Is it possible with GDL to call a parameter of an element or even to concatenate or add the results.
&lt;/BLOCKQUOTE&gt;

Hopefully I understand you right, but you can do so in the Parameter script. Don't forget to save your parameter back afterwards!&lt;BR /&gt;
Like:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;foo = 1234  ! number

bar = "Test"  ! string

! for concat just use the plus operator
qux = bar + " " + str("%^~", foo)
! those flags are a bit pesky
! % -&amp;gt; obligatory
! ^ -&amp;gt; no thousand delimiter
! ~ -&amp;gt; no decimal fractions

! save the parameter back
parameters   myparam = qux&lt;/PRE&gt;

How "str()" works is a bit troublesome, but just consult the handbook.</description>
    <pubDate>Fri, 08 May 2020 13:33:54 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2020-05-08T13:33:54Z</dc:date>
    <item>
      <title>GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243238#M1148</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Is it possible to call an object with &lt;FONT color="#0040FF"&gt;CALL&lt;/FONT&gt; command for example and then allow to modify one of the parameters of this object ?&lt;BR /&gt;
&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;Example :&lt;E&gt;&lt;/E&gt; using "Rotation.gsm" to ajust e57 points cloud and allow to supplant plan display&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to call an element like object and if it's possible are we able to call an element other than by its name in the library?&lt;BR /&gt;
&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;Example :&lt;E&gt;&lt;/E&gt; &lt;FONT color="#0040FF"&gt;ROOM_NUMBER&lt;/FONT&gt;&lt;BR /&gt;
&lt;IMG src="https://i.ibb.co/x6kGqVC/Capture-d-e-cran-2020-04-28-a-10-27-26.png" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Is it possible with GDL to call a parameter of an element or even to concatenate or add the results.&lt;BR /&gt;
&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;Example :&lt;E&gt;&lt;/E&gt; &lt;FONT color="#0040FF"&gt;ROOM_NET_AREA&lt;/FONT&gt;&lt;BR /&gt;
&lt;IMG src="https://i.ibb.co/hCGmyH9/Capture-d-e-cran-2020-04-27-a-14-33-15.png" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
I'm a GDL beginner, do not hesitate to tell me the smallest step.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 May 2020 12:14:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243238#M1148</guid>
      <dc:creator>Christophe Fortineau</dc:creator>
      <dc:date>2020-05-08T12:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243239#M1149</link>
      <description>&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;Is it possible to call an object with &lt;FONT color="#0040FF"&gt;CALL&lt;/FONT&gt; command for example and then allow to modify one of the parameters of this object ?&lt;/BLOCKQUOTE&gt;

Sure!&lt;BR /&gt;
You do it like this
&lt;PRE&gt;CALL yourmacro PARAMETERS paramInMacro = someValue&lt;/PRE&gt;

&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
Is it possible to call an object other than by its sum in the library?
&lt;/BLOCKQUOTE&gt;
??? I have no idea what you mean&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
Is it possible with GDL to call a parameter of an element or even to concatenate or add the results.
&lt;/BLOCKQUOTE&gt;

Hopefully I understand you right, but you can do so in the Parameter script. Don't forget to save your parameter back afterwards!&lt;BR /&gt;
Like:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;foo = 1234  ! number

bar = "Test"  ! string

! for concat just use the plus operator
qux = bar + " " + str("%^~", foo)
! those flags are a bit pesky
! % -&amp;gt; obligatory
! ^ -&amp;gt; no thousand delimiter
! ~ -&amp;gt; no decimal fractions

! save the parameter back
parameters   myparam = qux&lt;/PRE&gt;

How "str()" works is a bit troublesome, but just consult the handbook.</description>
      <pubDate>Fri, 08 May 2020 13:33:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243239#M1149</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-05-08T13:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243240#M1150</link>
      <description>&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
Is it possible to call an element like object and if it's possible are we able to call an element other than by its &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;name&lt;E&gt;&lt;/E&gt; in the library?
&lt;/BLOCKQUOTE&gt;

I am French and my OS corrects me thinking that I want to speak French ... I therefore resumed my first message. THANKS to you already for these precious answers.</description>
      <pubDate>Fri, 08 May 2020 13:51:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243240#M1150</guid>
      <dc:creator>Christophe Fortineau</dc:creator>
      <dc:date>2020-05-08T13:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243241#M1151</link>
      <description>&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
are we able to call an element other than by its &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;name&lt;E&gt;&lt;/E&gt; in the library?
&lt;/BLOCKQUOTE&gt;

Ah!&lt;BR /&gt;
Well... no. Not that I am aware of, at least.</description>
      <pubDate>Fri, 08 May 2020 13:58:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243241#M1151</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-05-08T13:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243242#M1152</link>
      <description>I use a GDL object to adjust the rotation in X, Y and Z of an e57 point cloud. &lt;BR /&gt;
For this I use the CALL command but when I integrate the variable into my 3D script like this :
&lt;PRE&gt;CALL name PARAMETERS upperPlaneHeight = upperPlaneHeightnew&lt;/PRE&gt;
I've created "upperPlaneHeightnew" to be able to modify it.&lt;BR /&gt;
But by using and modifying this parameter through my GDL tool... Nothing is happening &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Fri, 08 May 2020 15:49:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243242#M1152</guid>
      <dc:creator>Christophe Fortineau</dc:creator>
      <dc:date>2020-05-08T15:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243243#M1153</link>
      <description>&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
But by using and modifying this parameter through my GDL tool... Nothing is happening :/
&lt;/BLOCKQUOTE&gt;

I've never worked with pointclouds, but it sounds like you just made up a new parameter in the object you're actually calling, right?&lt;BR /&gt;
Well, no wonder then! Your new parameter inside the macro (the pointcloud object?) doesn't do anything.&lt;BR /&gt;
The parameter has to be used inside the macro somewhere; just making one won't help.</description>
      <pubDate>Fri, 08 May 2020 16:25:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243243#M1153</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-05-08T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243244#M1154</link>
      <description>&lt;BLOCKQUOTE&gt;runxel wrote:&lt;BR /&gt;
Well, no wonder then! Your new parameter inside the macro (the pointcloud object?) doesn't do anything.
&lt;/BLOCKQUOTE&gt;

That means I'm not able to modify point clouds parameters through another GDL objet ?</description>
      <pubDate>Fri, 08 May 2020 16:54:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243244#M1154</guid>
      <dc:creator>Christophe Fortineau</dc:creator>
      <dc:date>2020-05-08T16:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243245#M1155</link>
      <description>&lt;BLOCKQUOTE&gt;Christophe wrote:&lt;BR /&gt;
That means I'm not able to modify point clouds parameters through another GDL objet ?
&lt;/BLOCKQUOTE&gt;

Not really the best go-to guy for that. I have no idea if point clouds even do have any parameters, but I vaguely remember the statement you can't do much more than displaying them.&lt;BR /&gt;
&lt;BR /&gt;
However &lt;A href="https://www.b-prisma.de/object-shop/product_info.php?products_id=120" target="_blank"&gt;you can cut them&lt;/A&gt;.</description>
      <pubDate>Fri, 08 May 2020 17:41:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243245#M1155</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-05-08T17:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Possibilities</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243246#M1156</link>
      <description>Hi runxel,&lt;BR /&gt;
&lt;BR /&gt;
I have just tried to use CUTPLANE command on a e57 file imported into Archicad....&lt;BR /&gt;
It works fine&lt;BR /&gt;
&lt;BR /&gt;
Now I have to understand this command as well to be able to use it with altimetry !&lt;BR /&gt;
GDL is great ! I'm going to do my own tool like the weblink you give me (thanks about it).&lt;BR /&gt;
&lt;BR /&gt;
Have a great day !</description>
      <pubDate>Sat, 09 May 2020 09:30:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Possibilities/m-p/243246#M1156</guid>
      <dc:creator>Christophe Fortineau</dc:creator>
      <dc:date>2020-05-09T09:30:58Z</dc:date>
    </item>
  </channel>
</rss>

