// aug-04 eric created
// mar-05 eric changed
// jul-06 eric added rotation preserve
// may-07 eric added animation preserve
// jan-09 eric added missing channel creation
// mar-11 eric cleanup, in/out connection and constraint aware,
// kills leftover empty groups
// jan-21 eric cleaned var redifinition, checked with Maya 2020
// mar-05 eric changed
// jul-06 eric added rotation preserve
// may-07 eric added animation preserve
// jan-09 eric added missing channel creation
// mar-11 eric cleanup, in/out connection and constraint aware,
// kills leftover empty groups