<?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: Has anyone programmed this object? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199485#M25378</link>
    <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;GLOB_LAYER will return the name of the current layer that an object is on.&lt;BR /&gt;
But you would need to place this object on every layer.&lt;BR /&gt;
&lt;BR /&gt;
I'm not clear on what you are trying to do with the line for each layer as layers do not have default line types.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;

Thanks Barry,&lt;BR /&gt;
I think I can crack that one. As you say, line types doesn't matter really. It could be whatever line since it' bylayer export. One line for each layer and then the AC user can practise dwg conversion with these lines. Typically the line type used in AC would be the same as the bylayer-created line type in acad. If the acad user opens the dwg file created in AC and the line type is as expected according to the bylayer export, and the name is correct the all is golden. Otherwise there is something wrong in the translator. &lt;BR /&gt;
&lt;BR /&gt;
I would prefer an in-built dwg-translation checker in AC...like a viewer so the users that have no acad in their office can be 100% sure of the outcome.&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Mats</description>
    <pubDate>Wed, 25 Mar 2009 20:16:22 GMT</pubDate>
    <dc:creator>Mats_Knutsson</dc:creator>
    <dc:date>2009-03-25T20:16:22Z</dc:date>
    <item>
      <title>Has anyone programmed this object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199481#M25374</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
There are some very nice objects that "tables" and displays all pens, fills and materials used in an actual project. I don't know who did them but I was inspired to create a similar thing that draws a line for every layer and also displays the layer name. The purpose is of course to calibrate and visualize the bylayer dwg-export. I can't do it so I wonder if any of you GDL-gurus has done it?&lt;BR /&gt;
Regards,&lt;BR /&gt;
Mats&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Mar 2009 19:22:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199481#M25374</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2009-03-24T19:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone programmed this object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199482#M25375</link>
      <description>I did one of those objects, in the past, for pen colors &amp;amp; width. But pens are a special kind of Attribute, with a fixed number (always 255 + 0 &amp;amp; -1).&lt;BR /&gt;
&lt;BR /&gt;
I don't think the GDL can access to the layer names... moreover, a single GDL object is always placed on a single layer...! Admitting to create a library part that knows on wich layer it have to go, you need to place as many of them as the number of layers in jour project.</description>
      <pubDate>Tue, 24 Mar 2009 21:12:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199482#M25375</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-03-24T21:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone programmed this object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199483#M25376</link>
      <description>GLOB_LAYER will return the name of the current layer that an object is on.&lt;BR /&gt;
But you would need to place this object on every layer.&lt;BR /&gt;
&lt;BR /&gt;
I'm not clear on what you are trying to do with the line for each layer as layers do not have default line types.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 25 Mar 2009 01:36:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199483#M25376</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-03-25T01:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone programmed this object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199484#M25377</link>
      <description>&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;I did one of those objects, in the past, for pen colors &amp;amp; width. But pens are a special kind of Attribute, with a fixed number (always 255 + 0 &amp;amp; -1).&lt;BR /&gt;
&lt;BR /&gt;
I don't think the GDL can access to the layer names... moreover, a single GDL object is always placed on a single layer...! Admitting to create a library part that knows on wich layer it have to go, you need to place as many of them as the number of layers in jour project.&lt;/BLOCKQUOTE&gt;

Thanks!&lt;BR /&gt;
For your anwer and your efforts! Yes I need to place one line for every layer...it's not a big deal to do this manually but it would have been nice with an automated drafting-slave.&lt;BR /&gt;
&lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Wed, 25 Mar 2009 20:09:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199484#M25377</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2009-03-25T20:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone programmed this object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199485#M25378</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;GLOB_LAYER will return the name of the current layer that an object is on.&lt;BR /&gt;
But you would need to place this object on every layer.&lt;BR /&gt;
&lt;BR /&gt;
I'm not clear on what you are trying to do with the line for each layer as layers do not have default line types.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;

Thanks Barry,&lt;BR /&gt;
I think I can crack that one. As you say, line types doesn't matter really. It could be whatever line since it' bylayer export. One line for each layer and then the AC user can practise dwg conversion with these lines. Typically the line type used in AC would be the same as the bylayer-created line type in acad. If the acad user opens the dwg file created in AC and the line type is as expected according to the bylayer export, and the name is correct the all is golden. Otherwise there is something wrong in the translator. &lt;BR /&gt;
&lt;BR /&gt;
I would prefer an in-built dwg-translation checker in AC...like a viewer so the users that have no acad in their office can be 100% sure of the outcome.&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Mats</description>
      <pubDate>Wed, 25 Mar 2009 20:16:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199485#M25378</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2009-03-25T20:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone programmed this object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199486#M25379</link>
      <description>&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
There are some very nice objects that "tables" and displays all pens, fills and materials used in an actual project. I don't know who did them but I was inspired to create a similar thing that draws a line for every layer and also displays the layer name. The purpose is of course to calibrate and visualize the bylayer dwg-export. I can't do it so I wonder if any of you GDL-gurus has done it?&lt;BR /&gt;
Regards,&lt;BR /&gt;
Mats&lt;/BLOCKQUOTE&gt;

Are you refering to the ones in the ACE Library? There are a few great ones in there - i think one was done by &lt;A href="http://archicad-talk.graphisoft.com/profile.php?mode=viewprofile&amp;amp;u=362" target="_blank"&gt;Matthew Lohden&lt;/A&gt; and another by an Aussie guy (think it was &lt;A href="http://archicad-talk.graphisoft.com/profile.php?mode=viewprofile&amp;amp;u=293" target="_blank"&gt;Rob&lt;/A&gt;?)&lt;BR /&gt;
&lt;BR /&gt;
I was pretty sure they had their details in the GDL scripts.&lt;BR /&gt;
&lt;BR /&gt;
As for the Layers .. unfortunately these are not available as Globals, only the Layer the object is on - so no array of names  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;  Just another item on the wishlist for some time. Being able to access layer visibility within an object would be sooo useful...</description>
      <pubDate>Thu, 26 Mar 2009 00:09:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Has-anyone-programmed-this-object/m-p/199486#M25379</guid>
      <dc:creator>owen</dc:creator>
      <dc:date>2009-03-26T00:09:42Z</dc:date>
    </item>
  </channel>
</rss>

