March 31, 2016 at 21:05 #2362Päivi SalminenParticipant
is it possible to gather general material definitions to a macro object and call them to object files by using PUT and GET commands? I’ve tried this method but have gotten many error messages such as “incompatible table parameter dimension” and “error in parameter buffer command”.
Does anyone know what these messages mean? It would also be great to hear what is in your opinion is the best way to deal with repeating material definitions.
Thanks in advance for any advice concerning this matter!
April 1, 2016 at 03:06 #2363Barry KellyParticipant
If you define a material in a ‘Master_GDL’ file then they will automatically be available in the material list for all objects and elements.
No need to call them at all.
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit
April 1, 2016 at 09:05 #2364Päivi SalminenParticipant
Thank you for your good answer!
Would using the master_gdl file work if the materials should be tied to the library’s objects only, being manufacturer specific? I was also wondering how to bring these master_gdl-defined material choices from the material list to a place where the user can more easily perceive them and see that the choice is limited to them. By means of a material parameter which only lists the preferred ones as values?
October 10, 2019 at 08:51 #18251Heikki MalkkiParticipant
It looks like you can define exactly one material in a macro, so you could do
define material "cyan" 2, 0, 1, 1
define material "yellow" 2, 1, 1, 0
call "cyanmacro" call "yellowmacro" material ind(material, "cyan") block 1,1,1 material ind(material, "yellow") addy 1 block 1,1,1
It would be very useful to be able to create a bunch of inline materials in a macro. I’ve used the MASTER_GDL approach, but it pollutes the material list.
- The forum ‘Object design’ is closed to new topics and replies.