com.altair.hwm.beans.hm
Class HMMeshComm

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

public class HMMeshComm
extends java.lang.Object

Title: HMMeshComm

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

Company: Altair Engineering, Inc.


Constructor Summary
HMMeshComm(HWMCommMgr hwmCommMgr)
          Constructor.
 
Method Summary
 void Mesh(java.lang.String strSessionName, float fMeshSize, java.lang.String strEntityType, java.lang.String strElemType, java.lang.String strSelectionType)
          Meshes the model in HM
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMMeshComm

public HMMeshComm(HWMCommMgr hwmCommMgr)
Constructor.

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

Mesh

public void Mesh(java.lang.String strSessionName,
                 float fMeshSize,
                 java.lang.String strEntityType,
                 java.lang.String strElemType,
                 java.lang.String strSelectionType)
          throws java.lang.Exception
Meshes the model in HM

Parameters:
strSessionName - Session name to use for communicating with HM
fMeshSize - The mesh size
strEntityType - The type of entity to mesh i.e. surface, elements etc. Currently only surface is allowed
strElemType - The type of element to use while meshing i.e. quad, mixed or trias
strSelectionType - The selection type that is used while meshing. It could be all, displayed or selected by the user.
Throws:
java.lang.Exception - thrown if the command fails. "getMessage" will give the description of the error that occured