diffx
12-01-2008, 04:09 PM
I'm using VrayToon on my whole scene, and am excluding some objects from it. If I delete any of these excluded objects, they show up as <deleted> in the Exclude List of VrayToon.
However, it's not possible to delete multiple items from the Exclude list: I have to do them 1 by 1. I'd rather have some maxscript control.
vr = getAtmospheric 1
print vr.excludeList
Changing items in the array works fine, but it says "-- Runtime error: Array parameter size fixed, cannot append: excludeList" whenever I want to change the size of the array.
Any chance I can get by this and change the size?
[edit]
Just thought of the following (probably works but it's not really clean):
- Create 1000 boxes
- Add them to the exclude list
- Delete the boxes
- Whenever I want to add items to the list, just replace the "undefined" fields with my object.
However, it's not possible to delete multiple items from the Exclude list: I have to do them 1 by 1. I'd rather have some maxscript control.
vr = getAtmospheric 1
print vr.excludeList
Changing items in the array works fine, but it says "-- Runtime error: Array parameter size fixed, cannot append: excludeList" whenever I want to change the size of the array.
Any chance I can get by this and change the size?
[edit]
Just thought of the following (probably works but it's not really clean):
- Create 1000 boxes
- Add them to the exclude list
- Delete the boxes
- Whenever I want to add items to the list, just replace the "undefined" fields with my object.
