Now obsolete – Josh discovered that the cgm specific bufferTypes were unecessary, so retooled the entire concept to work with standard maya object sets. It’s not clearly documented you can store attributes and what not to sets.

cgm.OptionVarFactory

Oh so much work….

Made it so you can have a default value on call

Made type not necessary on call

Initial single item list calls correctly

Changed priorities:

If value on call:

if value is list, self.value is list or single, extend

if value is single, if self.value…

list, append

single, replace

If not value on call:

set default value

cgm.SetFactory(NEW)

Retooled from BufferFactory. Same concept just now utilizing standard maya sets

cgmToolBox

Added a cgm option var purge for testing purposes.

Bug Fixes:

Issue with curve creation on tdTools fixed due to calling an optionVar on menu build not going off till the menu was activated.

NameFactory was erroring out on naming shapes of sets because set member shapes are returned on a shape listRelatives call. Added a ref check to the name object function