2007-07-09 04:47 AM
2007-07-09 06:20 AM
2007-07-09 08:53 AM
Peter wrote:Peter
Brian,
When you say "I tried to replace ALL the "Stone Granite , rough"
do you mean you used the "find and replace" command in the
text editor ? The text editor is unreliable and you have to
try various ways to get it to work and sometimes you just
have to highlight and paste.
Peter Devlin
2007-07-09 06:29 PM
BAS wrote: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 ind(material, "Stone-Granite, rough") with your new parameter.
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.
Are the ones in the red box the ones that control the side of the column?Yes. This is specific to the sPrism_{2}. 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 sPrism_ and delete all the node by node material definitions (and bottom angle parameters). Of course you could also trim it down to just a Prism_, lose the material and angle parameters altogether, and just use a MATERIALS statement.
2007-07-09 08:08 PM
2007-07-09 08:16 PM
2007-07-09 10:32 PM
2007-07-09 11:01 PM
2007-07-10 02:48 AM
Matthew wrote:Thank you Matthew
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 ind(material, "Stone-Granite, rough") with your new parameter.
Yes. This is specific to the sPrism_{2}. 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 sPrism_ and delete all the node by node material definitions (and bottom angle parameters). Of course you could also trim it down to just a Prism_, lose the material and angle parameters altogether, and just use a MATERIALS statement.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.