Tue, Jun 26th, 2012
posted by jjburton 05:06 PM

Major avenues of progress for the week:

  • attrTools coming along well along with the accompanying modules
  • Added a buffer to Locinator along with an accompanying mode toggle
  • Added a few more hiding options for setTools (maya sets, anim layer sets)

Lessons learned from the week…

  • min/max values on Attributes only seem to be honored with float attributes
  • attributeQuery fails to return the correct value on:
    • keyable flag. Must use getAttr to get correct state
    • hidden flag. Must use getAttr with channelBox flag
  • if you change the enum options of an attribute in maya 2011 it will update the channelbox but not the attribute editor until you select something else then the object again. just deselecting the object and the object again won’t update, nor reopening the file after saving. Awesome.
    • Tried a function to manually toggle a couple selections and that didn’t work
    • Looked a little into ui update stuff, no joy. Moved on after a couple of strikes. Not a deal breaker
  • Alias attributes only affect the channel box
  • Odd bug with baseMelUI or maybe just a maya thing in maya 2013. If a text field is disabled, it clears the bgc. 2011 didn’t to do that.
  • Can assign the window as the parent to a ui element in Hamish’s baseMelUI with a self.get() function. Useful for formLayout


Mon, Jun 18th, 2012
posted by jjburton 10:06 AM

  • New build – http://www.cgmonks.com/cgmtoolbox-build-06182012/
    • If you grabbed it first thing this morning, there’s a rev 2 up for today with a bug fix – loaded/active mode wasn’t working right
  • There’s new documentation on for setTools accessible via the nav on the side here
  • Working on attrTools and Locinator this week…
    • Locinator
      • Adding buffer tools to it for repetitive work
    • AttrTools
      • Wanna get ready for initial release
Mon, Jun 18th, 2012
posted by jjburton 06:06 AM

Hot off the repository! The big push in this pack is finishing up the first pass of cgm.setTools. There’s a tool page setup now for more details (see the nav on the side).

The first release today had a bug with active/loaded modes 

  • ml_resetChannels
    • Sent potential change to Morgan to allow attributes to be passed through the function. Temporary patch in Toolbox version till Morgan decides how he wants to handle
  • cgm.setMenu
    • Marking menu counterpart to cgm.setTools
    • Key/Delete Key/Select Loaded or active sets
    • Individual set selection
    • Load setTools
    • Toggle types and references options
    • Change keying type mode
  • cgm.setTools
    • Reference sorting implemented
    • Added Reset functions per set and with multimode
    • Added key mode to be able to set reg keys or breakdown keys
    • Type sorting implemented
    • Added mulittagging via a right click menu on the mode toggle
    • Set grouping implemented
      • maintain local scene set group option for clean scenes
      • hide set groups option to keep them from loading
  • cgm.search
    • Tweaked the objectSet search function. Oddly enough animation layers were coming up in the search
    • Added a few more checks to selected channels check. Added ability to return raw channels
  • cgm.lists
    • changed the return on returnMatchedList to be [] instead of False when no matches found
  • cgm.OptionVarFactory
    • Added a defaultValue call option that will ONLY set if the optionVar doesn’t exist yet
    • Default type is int now
    • Fixed a data check logic process. It was turning empty string optionVar’s to ints
  • cgm.SetFactory
    • added doName function
    • added doSetType function
    • added refPrefix attribute to the class
    • added parents attribute to the class  to call to know which sets a set might belong to