All Categories  Class Hierarchy  This Category  Next  Indexes

Product Class CATDMUSRCatia

CATDMUSRCatia
 


public class CATDMUSRCatia

Set of services related to BOM.


Method Index


o ConnectEnvironment(CATUnicodeString&)
Connect VPM internal software to an environment.
o DoubleToXHexa(double)
Converts VPM Ids (like $COID, $COMPID) from binary format to hexadecimal format.
o GetCurrentEnv(CATUnicodeString&)
Returns current environment (from an internal software point of view).
o HexaToDouble(CATUnicodeString&)
Converts VPM Ids (like $COID, $COMPID) from hexadecimal format to binary format.

Methods


o ConnectEnvironment
public static int ConnectEnvironment( const CATUnicodeString& i_caenv="")
Connect VPM internal software to an environment. Be careful, VPM is always connected to only one environment (internally).
Parameters:
i_caenv
Environment name. If not specified, last environment is used.
Returns:
Error code
o DoubleToXHexa
public static CATUnicodeString DoubleToXHexa(double i_coid)
Converts VPM Ids (like $COID, $COMPID) from binary format to hexadecimal format.
Parameters:
i_coid
ID in binary format
Returns:
ID in hexadecimal format.
o GetCurrentEnv
public static int GetCurrentEnv(CATUnicodeString& o_caenv)
Returns current environment (from an internal software point of view). Be careful, VPM is always connected to only one environment (internally). So, this service returns this environment and not what you are seeing in a panel.
Parameters:
o_caenv
Environment name
Returns:
Error code
o HexaToDouble
public static double HexaToDouble( const CATUnicodeString& i_hexcoid)
Converts VPM Ids (like $COID, $COMPID) from hexadecimal format to binary format.
Parameters:
i_hexcoid
ID in hexadecimal format
Returns:
ID in binary format

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

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