Message 1 of 1
Resizing An Array Plug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'd like to know if an array plug can be resized? I'm developing a plugin that projects a path on a mesh, and also supports the trimming of one path against another -> paths get shorter -> resizing of array plug that store path information. Si?
I've tried resetting the size of the attribute with the MEL command setAttr -s new_size node.attr without success (getAttr -s works tho'). If it matters, the plug is a blinddata compound array attribute.
If array elements cannot be deleted, I'll be willing to consider alternative methods of structuring my data.
Many thanks.
I'd like to know if an array plug can be resized? I'm developing a plugin that projects a path on a mesh, and also supports the trimming of one path against another -> paths get shorter -> resizing of array plug that store path information. Si?
I've tried resetting the size of the attribute with the MEL command setAttr -s new_size node.attr without success (getAttr -s works tho'). If it matters, the plug is a blinddata compound array attribute.
If array elements cannot be deleted, I'll be willing to consider alternative methods of structuring my data.
Many thanks.