All Frameworks Class Hierarchy This Framework Previous Next Indexes
MechanicalModelerUI Class CATMmuViewServices
CATMmuViewServices
Usage: you must use this class as is. You should never derive it.
public class CATMmuViewServices
Class for view services.
Method Index
- o
GetViewContextInCurrentWindow(CATISpecObject*,CATUnicodeString&)
- Retrieves the view context.
Methods
o GetViewContextInCurrentWindow
-
Retrieves the view context.
Role:This method returns the view context in the current window. The view context is for example used in the
CATIBodyRequest or the
CATIPartRequest interfaces.
- Parameters:
-
- iObj
- The mechanical feature
- oViewContext
- The context of View
Legal values:
- "MfDefault3DView": for the default 3D view,
- "MfUnfoldedView" : for an unfolded
view in Sheet Metal applications,
- Returns:
- The returned value:
- S_OK: The returned view context is valid
- E_FAIL: The view context cannot be successfuly retrievied, however, the oViewContext value is the default one (MfDefault3DView)
This object is included in the file: CATMmuViewServices.h
If needed, your Imakefile.mk should include the module: CATMechanicalModelerUI