Message 1 of 1
Resize an ArrayAttribute dynamically when another ArrayAttribute changes length
Not applicable
10-01-2018
02:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
What is the best way to resize an Array Attribute in an MPxNode when another Attribute is modified.
For instance, given an MPxNode with an inputArray and outputArray, if the inputArray is resized I would like the outputArray to match the number of elements of the inputArray.
In what method (compute, setDependentsDirty, etc..) should this be done if possible?
Thanks!