![]() ![]() Here's my code, works fine until the last line: once I have a list of Material names, saving all of them is no prob, all the Vray exposed Subs work. it would be great if someone from Chaos Group could explain how to use GetSceneMaterialNames. i can see that it is an array, and i can see that it has the right number of entries (same number of materials, even if i add or delete materials). ![]() In Vray though there is an exposed Sub called GetSceneMaterialNames, and this seems to work, but I keep getting a type mismatch when i try to access the array of material names it returns. rhino has functions for accessing materials, but they only work for Vray materials that were created since the file was opened (current session), so that won't work. So i've been trying to script this for two days.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |