All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MechanicalModeler Class CATMfCkeServices

CATMfCkeServices
 

Usage: you must use this class as is. You should never derive it.


public class CATMfCkeServices

Global methods to manage Knowledge object.


Method Index


o CreateInstanceFromCell(CATIInstance_var&,CATCell_var&,CATBody_var&,CATIContainer_var&)
Creates an object from a cell that can be used in KnowledgeExpert inference.
o GetObjectFromParameter(CATICkeParm_var&)
Retrieves the topologic cell from an object.

Methods


o CreateInstanceFromCell
public static HRESULT CreateInstanceFromCell(CATIInstance_var& oInstance,
const CATCell_var& iCell,
const CATBody_var& iBody,
const CATIContainer_var& iContainer)
Creates an object from a cell that can be used in KnowledgeExpert inference.
Parameters:
oInstance
The returned object. Refer to the CATIRuleBase interface to use it in KnowledgeExpert inference.
iCell
The topological cell.
iBody
The topological body including iCell.
iContainer
The specification container of the Part document. Refer to the
CATIContainerOfDocument interface to retrieve it.
o GetObjectFromParameter
public static CATBaseUnknown_var GetObjectFromParameter( const CATICkeParm_var& iParm)
Retrieves the topologic cell from an object. Method used to define user functions on topology inputs such as area, smart volume.
Parameters:
iParm
Value, feature or topology
Returns:
The topologic cell. You may get the body from it : CATICkeParm_var ckeParm=cell; CATICkeInst_var ckeInst = ckeParm->Value(); CATBaseUnknown_var body=ckeInst->AsObject();

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

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