[Smtk-developers] Q: default for vector value possible?

David Thompson david.thompson at kitware.com
Fri Dec 5 20:10:32 EST 2014


Hi all,

> No - it would be relatively simple to put this in but care needs to be taken to keep things consistent when the item definition is modified:
> 
> 	• The item must be non-extensible 
> 	• When the Number of min required values is modified, the default array would also need to be updated
> 	• In the case of an extensible I'm guessing that the default array must be of size 1 and represents the value of newly added values.
> 
> Does this make sense?

Yup, it is now implemented and merged into SMTK/master. The "create brick" operator in SMTK now provides vector defaults for the brick axes.

	David


More information about the Smtk-developers mailing list