com.altair.hwm.beans.hm
Class HMScaleComm

java.lang.Object
  extended by com.altair.hwm.beans.hm.HMScaleComm

public class HMScaleComm
extends java.lang.Object

Title: HMScaleComm

Description: This class provides the actual communication with HyperMesh to scale a model. This can be used by beans that needs the functionality of HMScale bean but not its UI.

Company: Altair Engineering, Inc.


Constructor Summary
HMScaleComm(HWMCommMgr hwmCommMgr)
          Constructor.
 
Method Summary
 void Scale(java.lang.String strSessionName, float fScaleFactor)
          Scales a model in HM
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMScaleComm

public HMScaleComm(HWMCommMgr hwmCommMgr)
Constructor.

Parameters:
hwmCommMgr - The communication manager wqhich facilitates the communication with HM
Method Detail

Scale

public void Scale(java.lang.String strSessionName,
                  float fScaleFactor)
           throws java.lang.Exception
Scales a model in HM

Parameters:
strSessionName - Session name to use for communication with HM
fScaleFactor - The scale factor to use
Throws:
java.lang.Exception - thrown if the command fails. "getMessage" will give the description of the error that occured