[Smtk-developers] Q: Either-or combinations of attribute items

David Thompson david.thompson at kitware.com
Tue Nov 11 16:37:32 EST 2014


Hi all,

I believe I've heard that you can specify some items in an attribute can depend on others being present (or perhaps excluding the presence of others).

Is that the case? The CGM "brick" operator takes in *either* a width, height, and depth *or* a center point, 3 axes, and a length along each axis. Is there a good way to constrain an attribute to accept one case or the other? Is this presented in the GUI as a separate tab or radio buttons (or something else)?

If you let me know I will try adding something relevant to the user's guide.

	Thanks,
	David


More information about the Smtk-developers mailing list