com.altair.hwm.beans.hm
Class HMReflectComm

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

public class HMReflectComm
extends java.lang.Object

Title: HMReflectComm

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

Company: Altair Engineering, Inc.


Constructor Summary
HMReflectComm(HWMCommMgr hwmCommMgr)
          Constructor.
 
Method Summary
 void Reflect(java.lang.String strSessionName, java.lang.String strReflectType, HWMPoint hwmPoint1, HWMPoint hwmPoint2, HWMPoint hwmPoint3, HWMPoint hwmBasePoint, boolean bCopy)
          Performs the reflection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMReflectComm

public HMReflectComm(HWMCommMgr hwmCommMgr)
Constructor.

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

Reflect

public void Reflect(java.lang.String strSessionName,
                    java.lang.String strReflectType,
                    HWMPoint hwmPoint1,
                    HWMPoint hwmPoint2,
                    HWMPoint hwmPoint3,
                    HWMPoint hwmBasePoint,
                    boolean bCopy)
             throws java.lang.Exception
Performs the reflection

Parameters:
strSessionName - Session name to use for communication with HM
strReflectType - Can be along X-Axis, Y-axis, Z-Axis or N1,N2,N3
hwmPoint1 - Should be non null if reflect type is N1,N2,N3 else can be null
hwmPoint2 - Should be non null if reflect type is N1,N2,N3 else can be null
hwmPoint3 - Should be non null if reflect type is N1,N2,N3 else can be null
hwmBasePoint - Base point used for reflection
bCopy - True if a copy and reflect should be perormed else false.
Throws:
java.lang.Exception - thrown if the command fails. "getMessage" will give the description of the error that occured