<?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: Change object material in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93844#M31050</link>
    <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Brian,&lt;BR /&gt;
When you say "I tried to replace ALL the "Stone Granite , rough"&lt;BR /&gt;
do you mean you used the "find and replace" command in the&lt;BR /&gt;
text editor ? The text editor is unreliable and you have to&lt;BR /&gt;
try various ways to get it to work and sometimes you just&lt;BR /&gt;
have to highlight and paste.&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Peter&lt;BR /&gt;
&lt;BR /&gt;
I did not use the "find and replace" I did highlight and paste the first 3 "Stone Granite , rough" and changed them to NewTAble_2 in the line with sprisim_{2}. That seems to just change the top and bottom of the column Then I highlight and paste all the ones in the red box and got that error. The next warning says Parameter expression error or unnecessary end comma at line 116in 3D script of file New Table.gsm.&lt;BR /&gt;
Are the ones in the red box the ones that control the side of the column?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help&lt;BR /&gt;
&lt;BR /&gt;
Brian Sojka</description>
    <pubDate>Mon, 09 Jul 2007 06:53:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-07-09T06:53:34Z</dc:date>
    <item>
      <title>Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93842#M31048</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I made an object out of columns and slabs. And I was able to change  materials of the slabs but on the columns it only changed the material on the top and bottom not the side. I replaced "Stone Granite , rough" with &lt;BR /&gt;
NewTAble_A like I did with the slab. I tried to replace ALL the  "Stone Granite , rough" but that gave me errors.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank You for any help&lt;BR /&gt;
&lt;BR /&gt;
Brian Sojka&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/72852i2E39EC9C74D28DC4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Table Leg Code 3.png" title="Table Leg Code 3.png" /&gt;</description>
      <pubDate>Mon, 09 Jul 2007 02:47:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93842#M31048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T02:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93843#M31049</link>
      <description>Brian,&lt;BR /&gt;
When you say "I tried to replace ALL the "Stone Granite , rough"&lt;BR /&gt;
do you mean you used the "find and replace" command in the&lt;BR /&gt;
text editor ? The text editor is unreliable and you have to&lt;BR /&gt;
try various ways to get it to work and sometimes you just&lt;BR /&gt;
have to highlight and paste.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Mon, 09 Jul 2007 04:20:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93843#M31049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T04:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93844#M31050</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Brian,&lt;BR /&gt;
When you say "I tried to replace ALL the "Stone Granite , rough"&lt;BR /&gt;
do you mean you used the "find and replace" command in the&lt;BR /&gt;
text editor ? The text editor is unreliable and you have to&lt;BR /&gt;
try various ways to get it to work and sometimes you just&lt;BR /&gt;
have to highlight and paste.&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Peter&lt;BR /&gt;
&lt;BR /&gt;
I did not use the "find and replace" I did highlight and paste the first 3 "Stone Granite , rough" and changed them to NewTAble_2 in the line with sprisim_{2}. That seems to just change the top and bottom of the column Then I highlight and paste all the ones in the red box and got that error. The next warning says Parameter expression error or unnecessary end comma at line 116in 3D script of file New Table.gsm.&lt;BR /&gt;
Are the ones in the red box the ones that control the side of the column?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help&lt;BR /&gt;
&lt;BR /&gt;
Brian Sojka</description>
      <pubDate>Mon, 09 Jul 2007 06:53:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93844#M31050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93845#M31051</link>
      <description>&lt;BLOCKQUOTE&gt;BAS wrote:&lt;BR /&gt;I did not use the "find and replace" I did highlight and paste the first 3 "Stone Granite , rough" and changed them to NewTAble_2 in the line with sprisim_{2}. That seems to just change the top and bottom of the column Then I highlight and paste all the ones in the red box and got that error. The next warning says Parameter expression error or unnecessary end comma at line 116in 3D script of file New Table.gsm.&lt;/BLOCKQUOTE&gt;

This is a bit of a quirk in the GDL. The first three parameters can accept either string or integer (index) values so there you can replace a material name with a parameter (which value is an integer) without error. The fix is simple. Instead of replacing just the material name you need to replace the entire &lt;B&gt;ind(material, "Stone-Granite, rough")&lt;/B&gt; with your new parameter.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Are the ones in the red box the ones that control the side of the column?&lt;/BLOCKQUOTE&gt;

Yes. This is specific to the &lt;B&gt;sPrism_{2}&lt;/B&gt;. These set the materials for each of the vertical faces. Since you seem to want all the materials to match you can also change this to just an &lt;B&gt;sPrism_&lt;/B&gt; and delete all the node by node material definitions (and bottom angle parameters). Of course you could also trim it down to just a &lt;B&gt;Prism_&lt;/B&gt;, lose the material and angle parameters altogether, and just use a &lt;B&gt;MATERIALS&lt;/B&gt; statement.</description>
      <pubDate>Mon, 09 Jul 2007 16:29:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93845#M31051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93846#M31052</link>
      <description>Hello Matthew,&lt;BR /&gt;
What is sPrism_&lt;B&gt; ? I have never heard of it.&lt;BR /&gt;
I did a search in the AC 10 GDL manual and did not find it.&lt;BR /&gt;
Is it a new command in AC 11 ?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin&lt;/B&gt;</description>
      <pubDate>Mon, 09 Jul 2007 18:08:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93846#M31052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T18:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93847#M31053</link>
      <description>Peter,&lt;BR /&gt;
&lt;BR /&gt;
Yes, it's new in 11. Looks like it's related to the complex profiles since it shares their ability to have different materials on each face.&lt;BR /&gt;
&lt;BR /&gt;
Edit: I should have said it is new in AC10.</description>
      <pubDate>Mon, 09 Jul 2007 18:16:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93847#M31053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T18:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93848#M31054</link>
      <description>Hello Matthew,&lt;BR /&gt;
Thanks for the information. I don't have AC 11 yet.&lt;BR /&gt;
I wonder what the difference between sPrism_{2}&lt;BR /&gt;
and sPrism_&lt;B&gt; could be because sPrism_{2} is used&lt;BR /&gt;
for complex profiles in AC 10 for the same reason,&lt;BR /&gt;
different materials for each face as well as having&lt;BR /&gt;
a custom angle for the base polygon.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin&lt;/B&gt;</description>
      <pubDate>Mon, 09 Jul 2007 20:32:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93848#M31054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T20:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93849#M31055</link>
      <description>Peter,&lt;BR /&gt;
&lt;BR /&gt;
My mistake. I guess I didn't read your post closely enough. There is no sPrism_&lt;B&gt;. That was just an error in the formatting (forgot the slash to end bold text). And I didn't mean to say that it was new in AC11 since it came out with the complex profiles in 10. Sorry for the confusion - I am usually more careful to avoid typos. &lt;BR /&gt;
&lt;BR /&gt;
BTW: I have corrected the previous posts.&lt;/B&gt;</description>
      <pubDate>Mon, 09 Jul 2007 21:01:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93849#M31055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T21:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change object material</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93850#M31056</link>
      <description>&lt;BLOCKQUOTE&gt;Matthew wrote:&lt;BR /&gt;
This is a bit of a quirk in the GDL. The first three parameters can accept either string or integer (index) values so there you can replace a material name with a parameter (which value is an integer) without error. The fix is simple. Instead of replacing just the material name you need to replace the entire &lt;B&gt;ind(material, "Stone-Granite, rough")&lt;/B&gt; with your new parameter.&lt;/BLOCKQUOTE&gt;

Thank you Matthew&lt;BR /&gt;
I was able to do this method.&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Yes. This is specific to the &lt;B&gt;sPrism_{2}&lt;/B&gt;. These set the materials for each of the vertical faces. Since you seem to want all the materials to match you can also change this to just an &lt;B&gt;sPrism_&lt;/B&gt; and delete all the node by node material definitions (and bottom angle parameters). Of course you could also trim it down to just a &lt;B&gt;Prism_&lt;/B&gt;, lose the material and angle parameters altogether, and just use a &lt;B&gt;MATERIALS&lt;/B&gt; statement.&lt;/BLOCKQUOTE&gt;

I will have to study more to get this one. I was following the Step by Step Guide, It said to  follow the same steps as changing the slab material. I guess they just forgot a little bit.&lt;BR /&gt;
&lt;BR /&gt;
Brian</description>
      <pubDate>Tue, 10 Jul 2007 00:48:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Change-object-material/m-p/93850#M31056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-10T00:48:37Z</dc:date>
    </item>
  </channel>
</rss>

