CATMecModUseItf Interface CATIMmiKnolServices

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


interface CATIMmiKnolServices

Interface giving access to knowledge services.
Role:: This interface gives access to services of integration of Mechanical Modeler in Knowledge Modeler.
Usage: Use to retrieve a CATIMmiKnolServices pointer.


Method Index


o CreateInstanceFromCell(CATICkeObject_var&,CATCell_var&,CATBody_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 virtual CreateInstanceFromCell( oInstance,
const iCell,
const iBody)
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.
o GetObjectFromParameter
public virtual GetObjectFromParameter( const 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: CATIMmiKnolServices.h
If needed, your Imakefile.mk should include the module: CATMecModUseItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.