All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATAnalysisInterfaces Interface CATISamGenMeshPartMgt

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATISamGenMeshPartMgt
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATISamGenMeshPartMgt

Associate MeshPart(s) to connection or virtual parts.
This interface is dedicated to manage Mesh Parts that will be generated and removed thanks to implementing entity. Your property needs to be derived from SAMVirtualPart (to extend the virtual part concept) or SAMConnection (to extend the conection properties concept).


Method Index


o GenerateMeshPart()
Generate Associated mesh parts if needed.
o GetExplicitHandler(CATAnalysisExplicitNode&)
Return Explicit Master Node of the Mesh Part.
o GetGeneratedMeshParts(CATLISTV(CATISpecObject_var)&,CATBoolean)
Return the List of generated mesh parts.
o GetHandler(CATMSHNode*&)
Return Master Node of the Mesh Part.
o GetMshPartType(CATUnicodeString&)
Return feature type of the MeshPart to create.
o SetMeshPart(CATISpecObject*)
Associates a pre-existing mesh part to the connection.
o SetMeshPartType(CATUnicodeString&)
Defines the feature type of the MeshPart to create.

Methods


o GenerateMeshPart
public virtual HRESULT GenerateMeshPart()=0
Generate Associated mesh parts if needed. Should not be used. Called at the initialization of the analysis entity.
o GetExplicitHandler
public virtual HRESULT GetExplicitHandler(CATAnalysisExplicitNode& oExplicitNode) =0
Return Explicit Master Node of the Mesh Part.
Parameters:
oExplicitNode:
Explicit Master Node.
o GetGeneratedMeshParts
public virtual HRESULT GetGeneratedMeshParts(CATLISTV(CATISpecObject_var)& oMeshParts,
CATBoolean iCreate=TRUE) =0
Return the List of generated mesh parts. It means that the creation of the entity may imply the creation of a mesh part.
Parameters:
oMeshParts:
list of generated Mesh Parts.
iCreate:
Allows the automatic creation.
o GetHandler
public virtual HRESULT GetHandler(CATMSHNode*& oMSHNode) =0
Return Master Node of the Mesh Part.
Parameters:
oMSHNode:
Master Node.
o GetMshPartType
public virtual HRESULT GetMshPartType(CATUnicodeString& MshPartType) =0
Return feature type of the MeshPart to create.
Parameters:
MshPartType:
Feature type of the MeshPart to create.
o SetMeshPart
public virtual HRESULT SetMeshPart(CATISpecObject* iMeshPart) =0
Associates a pre-existing mesh part to the connection. Should not be used directely. This function is only usefull for synchronization with an existing meshpart.
o SetMeshPartType
public virtual HRESULT SetMeshPartType( const CATUnicodeString& iMshPartType) =0
Defines the feature type of the MeshPart to create.
Parameters:
iMshPartType:
Feature type of the MeshPart to create. This methode needs to be called on the startup for the feature catalog definition.

This object is included in the file: CATISamGenMeshPartMgt.h
If needed, your Imakefile.mk should include the module: CATAnalysisInterface

Copyright © 2003, Dassault Systèmes. All rights reserved.