GDL objects with adjustable materials
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-21 07:38 AM
Your help welcomed! Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-21 06:23 PM
*******
When you create your object, define a different material for each part of the object that you would like to be able to adjust individually.
For example, a chair with different materials for the legs, seat, and back. Assign Paint-01 to legs, Paint-02 to seat, and Paint-03 to back.
Save object as editable GDL object.
Place the object in your plan, select it, the open object using CTRL+SHIFT+O
Create a new material parameter for each item, in this case 3 of them. For this example, use the variables 'leg_mat', 'seat_mat' and 'back_mat' and choose a default material for each.
Then open the 3D script, use the 'search and replace text' command to replace "Paint-01" (include quotes since it is not a variable) with leg_mat (no quotes around variables), "Paint-02" with seat_mat and "Paint-03" with back_mat.
Hope that helps ~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-21 10:59 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-22 07:24 PM
So... Let's make this a WISH...
We know that GS "blessed" us by using a SPECIAL command that turned any slab with an ID "WALLHOLE" into a WALLHOLE command for windows and doors...
Here, I am proposing something much the same...
1. GS to create some special character like asterisk at the beginning AND the end of a material name
*LegMat*
2. Users then create a Material Named *LegMat* in their materials library.
3. When used as the material for an element in a SAVE AS LIBRARY PART...AC would create that PARAMETER and assign it as a parameter to the objects gdl..
Sounds so simple when I write out...
GS?
Visual Frontiers
AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion
DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-25 01:22 PM
Can you make this wish into a separate Wish post where we can vote for it?
I am anxious to click the ESSENTIAL button.

Great idea. Might be extended to other attribute types.
Or, the element could be dimensioned before being saved as GDL and all dimensions would be converted into parameters. The Dimension Text would be changed to the intended GDL parameter name prior to saving.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-25 05:22 PM
---now go vote!
Visual Frontiers
AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion
DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-25 05:28 PM
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-25 05:28 PM
Visual Frontiers
AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion
DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-29 08:56 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-08-22 03:01 PM