All Frameworks Class Hierarchy This Framework Previous Indexes
CATPrsWorkModeServices
Usage: you must use this class as is. You should never derive it.
public class CATPrsWorkModeServices
Class to retrieve and assign a work mode of/on a Product.
Role: The work mode is a loading mode which can vary according to the
selective loading context.
| public static HRESULT GetWorkMode( | const CATIProduct_var& | iProduct, |
| WorkMode& | oCurrentMode) |
S_OK the work mode is successfully retrieved. E_FAIL no suitable work mode was retrieved on iProduct.
| public static HRESULT SetWorkMode( | const CATIProduct_var& | iProduct, |
| WorkMode | iNewMode) |
S_OK the work mode is successfully affected. E_FAIL the work mode is not successfully affected.
enum WorkMode {
WM_VISUALIZATION,
WM_PRODUCT,
WM_BREP,
WM_DESIGN
}
Role of this enumeration type.
Copyright © 2003, Dassault Systèmes. All rights reserved.