Hello Abramo,
The last question about the parameter type means that
if you want to have just limited number of materials in
the object's menu and at the same time you don't want
to add those object-specific materials to the plan materials
(for walls etc.) you can add the material definitions to
the master and value scripts of the object itself.
The object can also have all the other materials of the plan file too
if you 'open' the value list -> just add the key word <custom>
to the end of value list. In this case the user can manually write in
a name of any material. The parameter type should in this case
be text.
!--closed value script;
values 'my_material' 'Grey 95%', 'White 100%'
!--opened value script;
values 'my_material' 'Grey 95%', 'White 100%', custom
!--master script
DEFINE MATERIAL 'Grey 95%' 20,
0.95, 0.95, 0.95,
0.8, 0.75, 0.5, 0, 9, 0,
1, 1, 1, 0, 0, 0, 0, 0, -1, 0
DEFINE MATERIAL 'White 100%' 20,
1.00, 1.00, 1.00,
0.8, 0.75, 0.5, 0, 9, 0,
1, 1, 1, 0, 0, 0, 0, 0, -1, 0
At least materials added this way should be visible with the object explorer.
Hope this helps
--
Juha