<?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: Changing the &amp;quot;Material&amp;quot; from a Pen Color to a in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Changing-the-quot-Material-quot-from-a-Pen-Color-to-a-PICT/m-p/100084#M35395</link>
    <description>Hello Robert,&lt;BR /&gt;
&lt;BR /&gt;
it can not work this way you have done.&lt;BR /&gt;
&lt;BR /&gt;
1. Choosing an attribute in the parameter list is choosing the index of the attribute in the internal list of this attribute. As there are 255 indexed colors, there is a list of fills and a list of materials and lines. They have nothing common between each other.&lt;BR /&gt;
If the author uses a PEN parameter he will use it as setting the pen with &lt;B&gt;PEN number&lt;/B&gt;. I you change to metrial nothing changes the PEN-statement in the script.&lt;BR /&gt;
&lt;BR /&gt;
2. The material will be defined anywhere in the 3D-script with a &lt;B&gt;DEFINE MATERIAL name, type, ...&lt;/B&gt; Search this and have a look on them referring to the gdl manual. This command can have up to 19 controls for the material (without the possibility to change lightwork material too.)&lt;BR /&gt;
After defining the materials there have to be MATERIAL or SET MATERIAL commands. Have a look for them. HERE you could change the commands to &lt;B&gt;MATERIAL yourmaterialname&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
I don't know, how the objects are written (skript/binary) so search the [DEFINE] MATERIAL commands and post them here. Maybe we can help you.</description>
    <pubDate>Thu, 22 Dec 2005 01:44:06 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2005-12-22T01:44:06Z</dc:date>
    <item>
      <title>Changing the "Material" from a Pen Color to a PICT</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Changing-the-quot-Material-quot-from-a-Pen-Color-to-a-PICT/m-p/100083#M35394</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;OK You GDL guru's, I have been humbled by my inability to modify an existing object.  I have been tinkering with one of the Alfaville people, trying to get it to resemble a Hunter.  I found a nice camouflage bitmap with Google and have imported it into my personal library of textures in ArchiCAD. &lt;BR /&gt;
 &lt;BR /&gt;
The Aflaville object I started with uses pens to define the various parts (hair, skin, shirt, etc.)  After saving a copy and renaming it "hunter" I opened the hunter object (using File&amp;gt;GDL Objects&amp;gt;Open Object command) and I changed the little icon in the object parameters window from a pen icon to a picture icon, and was able to select my new camouflage material, which in this case is material #215.   &lt;BR /&gt;
 &lt;BR /&gt;
After I save the object and go back to the 3D window, the shirt and pants are using pen #215.  On my computer pen 215 is pinkish and the hunter looks like he is from San Francisco! &lt;BR /&gt;
 &lt;BR /&gt;
Any suggestions as to what I am doing wrong?  I have tried placing Material #215 in the Arrary table with no better results.  I have tried fiddling with the 3D Script but I am getting in over my head there.   &lt;BR /&gt;
 &lt;BR /&gt;
The only thing I have been able to do is make the entire hunter camouflaged, but I want the skin, hair, etc. to be something other than camouflaged!&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/68608iFA7915312F0472BA/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Picture 12.png" title="Picture 12.png" /&gt;</description>
      <pubDate>Wed, 24 May 2023 10:09:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Changing-the-quot-Material-quot-from-a-Pen-Color-to-a-PICT/m-p/100083#M35394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the "Material" from a Pen Color to a</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Changing-the-quot-Material-quot-from-a-Pen-Color-to-a-PICT/m-p/100084#M35395</link>
      <description>Hello Robert,&lt;BR /&gt;
&lt;BR /&gt;
it can not work this way you have done.&lt;BR /&gt;
&lt;BR /&gt;
1. Choosing an attribute in the parameter list is choosing the index of the attribute in the internal list of this attribute. As there are 255 indexed colors, there is a list of fills and a list of materials and lines. They have nothing common between each other.&lt;BR /&gt;
If the author uses a PEN parameter he will use it as setting the pen with &lt;B&gt;PEN number&lt;/B&gt;. I you change to metrial nothing changes the PEN-statement in the script.&lt;BR /&gt;
&lt;BR /&gt;
2. The material will be defined anywhere in the 3D-script with a &lt;B&gt;DEFINE MATERIAL name, type, ...&lt;/B&gt; Search this and have a look on them referring to the gdl manual. This command can have up to 19 controls for the material (without the possibility to change lightwork material too.)&lt;BR /&gt;
After defining the materials there have to be MATERIAL or SET MATERIAL commands. Have a look for them. HERE you could change the commands to &lt;B&gt;MATERIAL yourmaterialname&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
I don't know, how the objects are written (skript/binary) so search the [DEFINE] MATERIAL commands and post them here. Maybe we can help you.</description>
      <pubDate>Thu, 22 Dec 2005 01:44:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Changing-the-quot-Material-quot-from-a-Pen-Color-to-a-PICT/m-p/100084#M35395</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-12-22T01:44:06Z</dc:date>
    </item>
  </channel>
</rss>

