All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIBodyRequest

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

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


interface CATIBodyRequest

Interface to retrieve the result of a geometrical feature set.
Role:This interface enables you to retrieve the result of a geometrical set. This interface is available for all kind of geometrical features sets.

The unique method, GetResults , enables you to retrieve the result of a geometrical feature set.
The result of a geometrical feature set is made from all the geometrical features that are aggregated in this geometrical set and that are not absorbed.
It can be directly aggregated (a Point under the the geometrical feature set), or indirectly (a Point under a Line that is under the geometrical feature set).
This method works for nearly any kind of geometrical features sets.
In particular, this method works for a Body operated by a boolean operation.
This method does not work for sub-Body and sub-OGS (Body or OGS aggregated directly in an OGS or in a Body).

The method of this interface needs a context (It is a difference between the CATIDescendants interface). The context is the means to have for the same design several representations. There is a default context represented by the MfDefault3DView string value.

In all cases, the result list contains features implementing the CATI3DGeometricalElement interface. Once you have the resulting feature(s), use the CATIGeometricalElement.GetBodyResult method to retrieve the associated CATBody. Be aware that you can retrieve deactivated features in the list (see the CATIMechanicalProperties interface). In that case, it can happen that the associated CATBody does not exist.

See also:
CATIPartRequest


Method Index


o GetResults(CATUnicodeString&,CATListValCATBaseUnknown_var&)
Retrieves the result of a geometrical feature set.

Methods


o GetResults
public virtual HRESULT GetResults( const CATUnicodeString& iViewContext,
CATListValCATBaseUnknown_var& oResults)=0
Retrieves the result of a geometrical feature set.
Parameters:
iViewContext
The context of view:
Legal values:
  • "MfUnfoldedView" or "Unfolded": for an unfolded view in Sheet Metal applications,
  • "MfDefault3DView": for the default 3D view,
  • otherwise: the default 3D view.
oResults
A list of geometrical features.

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

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