CATMecModLiveUseItf Interface CATIMmiViewServices
Usage: you must use this class as is. You should never derive it.
interface CATIMmiViewServices
Class providing services about views.
Use CATMmiUseServicesFactory::CreateMmiViewServices to get the services component.
Method Index
- o
GetViewContextInCurrentWindow(CATIMmiMechanicalFeature*,CATUnicodeString&)
- Retrieves the view context.
Methods
o GetViewContextInCurrentWindow
public virtual GetViewContextInCurrentWindow( | const | iObj, |
| | oViewContext) |
-
Retrieves the view context.
Role:This method returns the view context in the current window. The view context is for example used in the
or the
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: CATIMmiViewServices.h
If needed, your Imakefile.mk should include the module: CATMecModLiveUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.