scaleConstraint is undoable, queryable, and editable.
      Constrain an object's scale to the scale of the target object or
to the average scale of a number of targets.
In query mode, return type is based on queried flag.
      
      
        
          | Long name (short name) | Argument types | Properties | 
        |  | 
    
      | -layer(-l) | string |    | 
    
      | 
          
        |  | Specify the name of the animation layer where the constraint should be added. |  | 
    
      | -maintainOffset(-mo) |  |   | 
    
      | 
          
        |  | The offset necessary to preserve the constrained
object's initial scale will be calculated and used as the
offset. |  | 
    
      | -name(-n) | string |     | 
    
      | 
          
        |  | Sets the name of the constraint node to the specified
name.  Default name is constrainedObjectName_constraintType |  | 
    
      | -offset(-o) | float float float |     | 
    
      | 
          
        |  | Sets or queries the value of the offset. Default is 1,1,1. |  | 
    
      | -remove(-rm) |  |   | 
    
      | 
          
        |  | removes the listed target(s) from the constraint. |  | 
    
      | -scaleCompensate(-sc) | boolean |    | 
    
      | 
          
        |  | Used only when constraining a joint. It specify if a scaleCompensate will be applied on constrained joint.
If true it will connect Tjoint.aCompensateForParentScale to scaleContraint.aConstraintScaleCompensate. |  | 
    
      | -skip(-sk) | string |     | 
    
      | 
          
        |  | Specify the axis to be skipped. Valid values are "x", "y", "z" and "none". During creation, "none" is the default. This flag is multi-use. |  | 
    
      | -targetList(-tl) |  |   | 
    
      | 
          
        |  | Return the list of target objects. |  | 
    
      | -weight(-w) | float |     | 
    
      | 
          
        |  | Sets the weight value for the specified target(s).
If not given at creation time, the default value of 1.0 is used. |  | 
    
      | -weightAliasList(-wal) |  |   | 
    
      | 
          
        |  | Returns the names of the attributes that control the weight
of the target objects. Aliases are returned in the same order
as the targets are returned by the targetList flag |  |