All Categories Class Hierarchy This Category Previous Next Indexes
CATDMUsrEnvironment
public class CATDMUsrEnvironment
BOM environment management class.
Role: this class provides services for getting and setting the
current (in-work) VPM environment.
In particular, it should be used accordingly with API CATDMUsrInstance, in
order to set the environment before operating instances belonging to that
environment.
Precondition : the use of this class requires a valid connection
to the database (@see CATVpmSCUsrLogin, CATDMUsrConnection).
| public static Error Get( | char[9] | oEnvironment) |
Role: Use this method to retrieve the current working environment.
| public static Error Set( | const char[9] | iEnvironment) |
Role: Call this method before processing objects belonging to
the environment. if it was previously unset or set to another value.
Problems may occur accessing the profile if this method is not called
accordingly.
Precondition: the implementation assumes a valid connection
to the BOM database is already opened.
Copyright © 2003, Dassault Systèmes. All rights reserved.