All Frameworks  Class Hierarchy  This Framework  Indexes   

DraftingInterfaces Interface CATIDftGenGeomAccess

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


interface CATIDftGenGeomAccess

Interface on the Generative View which allows to access generated Geometry and to execute different query on it.


Method Index


o GetAllGeneratedItems(IID&,CATIUnknownList**)
Returns all the generated geometry accordingly to the required interface.
o GetAllGeneratedShapes(IID&,CATIUnknownList**)
Returns all the generated shapes accordingly to the required interface.
o GetGeneratedItemForm3DGeomList(IID&,CATIUnknownList*,CATIUnknownList*,CATIUnknownList**)
Returns a list of GenItem which have been generated from both several geometries.
o GetGeneratedItemForm3DGeom(IID&,CATGeometry*,CATIProduct*,CATIUnknownList**)
Returns a list of GenItem which have been generated from a particular geometry in a specified product.

Methods


o GetAllGeneratedItems
public virtual GetAllGeneratedItems( const iIID,
oList)
Returns all the generated geometry accordingly to the required interface.
Parameters:
const
IID & iIID [in] The IID of the required interface
CATIUnknownList
** oList [out] the list of returned pointers
Returns:
A HRESULT
S_OK
Some geometry has been found
E_FAIL
No geometry found which implements the interface iIID
o GetAllGeneratedShapes
public virtual GetAllGeneratedShapes( const iIID,
oList)
Returns all the generated shapes accordingly to the required interface.
Parameters:
const
IID & iIID [in] The IID of the required interface
CATIUnknownList
** oList [out] the list of returned pointers
Returns:
A HRESULT
S_OK
Some Generative shapes has been found
S_FALSE
No generative shape has been found
E_FAIL
abnormal behavior
o GetGeneratedItemForm3DGeomList
public virtual GetGeneratedItemForm3DGeomList( const iIID,
iGeom,
iProdList,
oList)
Returns a list of GenItem which have been generated from both several geometries.
Parameters:
iIID
the IID of the returned interface
iGeom
the "coming from" list of geometries
iProd
the "coming from" list of products in the assembly corresponding to each geom. If NULL not considered.
oList
the list of GenItem.
Returns:
S_OK if found at least one GenItem. S_FALSE if not. E_FAIL if abnormal behavior. E_INVALIDARG if NULL or empty iGeom.
o GetGeneratedItemForm3DGeom
public virtual GetGeneratedItemForm3DGeom( const iIID,
iGeom,
iProd,
oList)
Returns a list of GenItem which have been generated from a particular geometry in a specified product.
Parameters:
iIID
the IID of the returned interface
iGeom
the "coming from" geometry
iProd
the "coming from" product in the assembly. If NULL not considered. If not NULL, must have the same size that iGeom
oList
the list of GenItem.
Returns:
S_OK if found at least one GenItem. S_FALSE if not. E_FAIL if abnormal behavior. E_INVALIDARG if NULL iGeom.

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

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