system_interfaces

accesslog_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.accesslog_statistics_setting_att.AccesslogStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
AccesslogStatisticsSettingAtt

Interface for Accesslog statistic Controller.

Role: the accesslog statistics controller manages the values of all or only a
part of the attributes available for the thematic.
For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt.

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

any_object

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.any_object.AnyObject(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
AnyObject

Represents the base object for all other objects except collection and
reference objects.
As a base object, it provides properties shared by any other
object.
property application

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property Application() As Application (Read Only)

Returns the application. The application is the root object of the object
structure and can be retrieved from any object in this object structure using
the Application property. The root object, also called top-level object, is the
object located at the top of the application’s object structure. It is used by
clients to retrieve and navigate across all the application’s subordinate
objects. If the client runs in-process, it retrieves the object at the top of
the object structure. If the client runs out-process, it should call the
GetApplication method to retrieve the object at the top of the object
structure, which is the only object accessible from outside. The Application
property is thus the way to jump from any object up to the root of the object
structure, allowing then to navigate downwards. For in-process scripting, the
application is always referred to as CATIA. Note that the Application property
of the Application object returns the Application object
itself.

Example:
This example retrieves in CurrentApplication the application object,
root of the object structure, from a given object of this structure: a document
refered to using the MyDoc variable.

Dim CurrentApplication As Application
Set CurrentApplication = MyDoc.Application
Returns

Application

get_item(id_name)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetItem(CATBSTR IDName) As CATBaseDispatch

Returns an object from its name.
Role: To retrieve an object when only its name is
available.

Parameters:

IDName
The searched object name

Returns:
The searched object
Parameters

id_name (str) –

Returns

AnyObject

property name

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property Name() As CATBSTR

Returns or sets the name of the object. The name is a character string
automatically assigned to any object to handle it easier. Even if the Name
property allows you to reassign an object name, this is not advised. Many
objects, such as the application and the collections, have names that you must
not change, and it’s safer to use Name as a read only property. When an object
is part of a collection, the object name can often be used in place of the
object rank to retrieve or remove the object, providing the Item and Remove
methods of the collection feature an argument with the Variant type. A name
must start with a letter. It can include numbers, but it can’t include spaces.
If the object has no name set, the default name returned is the object type.
For example, the Name property of a Viewer3D object with no name set returns
Viewer3D.

Example:
This example retrieves in MyObjectName the name of the MyObject
object.

MyObjectName = MyObject.Name
Returns

str

property parent

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property Parent() As CATBaseDispatch (Read Only)

Returns the parent object. The parent object of a given object is the
object just above in the object structure, usually the object that created this
object and that aggregates it. In the case of an object part of a collection,
the parent object can be the collection object itself or the object that
aggregates the collection object. The Parent property is the way to step
upwards in the object structure. Note that the Parent property of the
Application object returns the Application object itself.

Example:
This example retrieves in ParentObject the parent object of the
GivenObject object.

Dim ParentObject As AnyObject
Set ParentObject = GivenObject.Parent
Returns

AnyObject

cache_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.cache_setting_att.CacheSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
CacheSettingAtt

Represents the base object to handle the parameters of the
cache.
property activation_mode

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ActivationMode() As boolean

Returns or sets the activation state of cache.
Role: Returns or sets the value of cache activation.
Returns

bool

property cache_max_size_mo

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property CacheMaxSizeMo() As long

Returns or sets the value of the cache maximum size.
Role: Returns or sets the value of the maximum allowed cache size in Mo
Returns

int

get_activation_mode_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetActivationModeInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves informations about the Cache activation mode.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_cache_max_size_mo_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetCacheMaxSizeMoInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the Cache maximum
size.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_local_path_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLocalPathInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the Cache local
path.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_lod_mode_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLODModeInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the LOD generation
mode.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_release_path()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetReleasePath() As CATSafeArrayVariant

Retieves the cache release paths.
Role: Sets the cache release paths in a symbolic format.

Parameters:

ioRelPath
a CATSafeArrayVariant of CATBSTR.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Returns

tuple

get_release_path_info(admin_level, locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetReleasePathInfo(CATBSTR AdminLevel,
CATBSTR Locked) As boolean

Retrieves environment informations for the Cache release
path.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • locked (str) –

Returns

None

get_released_voxel_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetReleasedVoxelInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the Cache released
voxel.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_size_control_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetSizeControlInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the size control
mode.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_timestamp_mode_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetTimestampModeInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the timestamp control
mode.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_utc_time_format_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetUTCTimeFormatInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the timestamp control
mode.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

property local_path

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property LocalPath() As CATBSTR

Retrieves or sets the cache local path.
Role: Retrieves or sets the value of the cache local path. If the local
path is defined with environment variables then this method return the
unexpansed form.
Returns

str

property lod_mode

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property LODMode() As boolean

Returns or sets the LOD generation mode parameter.
Role: Returns or sets the value of the LOD generation mode.
Returns

bool

put_release_path(i_rel_path)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub PutReleasePath(CATSafeArrayVariant iRelPath)

Sets the cache release paths.
Role: Sets the cache release paths in a symbolic format.

Parameters:

iRelPath
a CATSafeArrayVariant of CATBSTR.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters

i_rel_path (tuple) –

Returns

None

property released_voxel

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ReleasedVoxel() As float

Returns or sets the released voxel parameter.
Role: Returns or sets the value of the released voxel parameter.
Returns

float

set_activation_mode_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetActivationModeLock(boolean iLocked)

Locks or unlocks the Cache Activation mode.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_cache_max_size_mo_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetCacheMaxSizeMoLock(boolean iLocked)

Locks the paramater Cache maximum size.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_local_path_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLocalPathLock(boolean iLocked)

Locks or unlocks the cache local path parameter.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_lod_mode_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLODModeLock(boolean iLocked)

Locks or unlocks the LOD generation mode.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_release_path_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetReleasePathLock(boolean iLocked)

Locks or unlocks the cache local path parameter.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_released_voxel_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetReleasedVoxelLock(boolean iLocked)

Locks or unlocks the released voxel parameter.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_size_control_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetSizeControlLock(boolean iLocked)

Locks or unlocks the cache size control parameter.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_timestamp_mode_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetTimestampModeLock(boolean iLocked)

Locks or unlocks the timestamp control in cache.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_utc_time_format_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetUTCTimeFormatLock(boolean iLocked)

Locks or unlocks the timestamp format.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

property size_control

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property SizeControl() As boolean

Return or sets the cache size control.
Role: Returns or sets the cache size control. The cache use this parameter
in conjunction with the maxixum allowed cache size. If it is turned off, the
cache size has no limit.
Returns

bool

property timestamp_mode

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property TimestampMode() As boolean

Retrieves or sets the timestamp control.
Role: If the timestamp control is turned on, the cache will verify if the
cached object is uptodate with the master object. If not a new cached view will
be generated.
If the timestamp control is turned off, the cache will consider that the
cached views are always uptodate with their master object.
Returns

bool

property utc_time_format

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property UTCTimeFormat() As boolean

Retrieves or sets the the cache timestamp format.
Role: If the timestamp format is set to TRUE, then the time used used as
timestamp by the cache is expressed in UTC format (GMT), in the other case the
local time is used. The default format is local time.
Returns

bool

cat_base_dispatch

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.cat_base_dispatch.CATBaseDispatch

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
CATBaseDispatch

Base class for Automation interfaces.
Role: All Automation interfaces must inherit from the CATBaseDispatch
interface. They usually do not inherit directly from CATBaseDispatch, but
rather from one of its subclasses: AnyObject for individual objects or
Collection for collection objects. Some methods may however have arguments of
type CATBaseDispatch when they accept both individual objects or collection
objects. The interface provides no functionalities per se.

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

cat_base_unknown

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.cat_base_unknown.CATBaseUnknown

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
CATBaseUnknown

Base class for creating interfaces and for implementing
interfaces.
Role: CATBaseUnknown supplies the infrastructure and the basic mechanisms to
create interface abstract classes and to manage interface pointers. It is also
the base class for classes which implements interfaces and for their extension
classes because it supplies the code for the interface methods QueryInterface,
AddRef and Release.

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

collection

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-10 10:58:07.270911

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.collection.Collection(com_object, child_object=<class 'pycatia.system_interfaces.any_object.AnyObject'>)

Note

CAA V5 Visual Basic Help (2020-06-10 10:58:07.270911)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
Collection

Represents the base object for collections.
As a base object, it provides properties and methods shared by any other
object.
property application

Note

CAA V5 Visual Basic Help (2020-06-10 10:58:07.270911)
o Property Application() As Application (Read Only)

Returns the application. The application is the root object in the object
structure and can be retrieved from any object in the object structure using
the Application property. The Application property is the way to jump from any
object up to the root of the object data structure, allowing then to navigate
downwards. For in-process scripting, the application is always referred to as
CATIA. Note that the Application property of the Application object returns the
Application object itself.

Example:
This example retrieves in CurrentApplication the application object,
root of the object structure, from a given object of this structure: a document
refered to using the MyDocCollecion variable.

Dim CurrentApplication As Application
Set CurrentApplication = MyDocCollecion.Application
Returns

Application

property count

Note

CAA V5 Visual Basic Help (2020-06-10 10:58:07.270911)
o Property Count() As long (Read Only)

Returns the number of objects in the collection. This is handy to scan all
the objects in a collection.

Example:
This example retrieves in ObjectNumber the number of objects currently
gathered in MyCollection.

ObjectNumber = MyCollection.Count
Returns

int

get_item(id_name)

Note

CAA V5 Visual Basic Help (2020-06-10 10:58:07.270911))
o Func GetItem(CATBSTR IDName) As CATBaseDispatch

Returns an object from its name.
Role: To retrieve an object when only its name is available. You should not
use this method, but you can find it in the macros generated by the
Tools->Macro command.

Parameters:

IDName
The searched object name

Returns:
The searched object
Parameters

id_name (str) –

Returns

child_object

get_item_by_index(index)
Parameters

index (str/int) – relation name or index

Returns

child_object

items()
Returns

[self.child_object()]

property name

Note

CAA V5 Visual Basic Help (2020-06-10 10:58:07.270911)
o Property Name() As CATBSTR (Read Only)

Returns or sets the name of the object. The name is a character string you
can assign to any object to handle it easier. In the case of an object part of
a collection, the name can often be used in place of the object rank to
retrieve or remove the object, providing the Item and Remove methods of the
collection feature an argument with the Variant type. If the object has no name
set, the name returned is the one of its parent.

Example:
This example sets to MyObject the name Nice and Handy Object
Name.

MyObject.Name(“Nice and Handy Object Name”)
Returns

str

property parent

Note

CAA V5 Visual Basic Help (2020-06-10 10:58:07.270911)
o Property Parent() As CATBaseDispatch (Read Only)

Returns the parent object. The parent object of a given object is the
object that created this object, usually the object just above in the object
tree structure and that aggregates it. In the case of an object part of a
collection, the parent object is not the collection object itself, but the
object that aggregates the collection object. The Parent property is the way to
step upwards in the object data structure. Note that the Parent property of the
Application object returns the Application object itself.

Example:
This example retrieves in ParentObject the parent object of the
GivenObject object.

Dim ParentObject As AnyObject
Set ParentObject = GivenObject.Parent
Returns

AnyObject

command_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.command_statistics_setting_att.CommandStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
CommandStatisticsSettingAtt

Interface for Command statistic Controller
Role: the command statistics controller manages the values of all or only a part
of the attributes available for the thematic.

For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

disconnection_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.disconnection_setting_att.DisconnectionSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
DisconnectionSettingAtt

Represents the base object to handle the parameters of automatic
disconnection.
If the automatic disconnection is enable, the V5 session will be kill after a
user-defined duration of inactivity.
property activation_state

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ActivationState() As boolean

Returns or sets the activation state of automatic
disconnection.
Role:Returns or sets the activation mode of automatic disconnection.
Returns

bool

get_activation_state_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetActivationStateInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves informations about the activation mode of automatic
disconnection.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_inactivity_duration_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetInactivityDurationInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for inactivity
duration.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

property inactivity_duration

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property InactivityDuration() As long

Returns or sets the inactivity duration.
Role: Returns or sets the timeout in seconds before the automatic
disconnection when no activity has been detected, if the mechanism is enabled.
Returns

int

set_activation_state_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetActivationStateLock(boolean iLocked)

Locks or unlocks the activation mode of automatic
disconnection.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_inactivity_duration_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetInactivityDurationLock(boolean iLocked)

Locks or unlocks the inactivity duration.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

dl_name_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.dl_name_setting_att.DlNameSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
DLNameSettingAtt

Interface to handle the DLNames.
Role: This interface is implemented by a component which represents the
controller of the DLNames.
This interface defines:

A method to set each DLName
A method to get the value of each DLName
A method to lock/unlock each parameter
A method to retrieve the informations concerning each
parameter
property dl_name_creation_right

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property DLNameCreationRight() As boolean

Returns or set the right to create new DLNames.
Role: Retrieves or set the right to create new DLNames.
Returns

bool

get_dl_name(i_dl_name, o_real_name_unix, o_real_name_nt, o_father)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub GetDLName(CATBSTR iDLName,
CATBSTR oRealNameUnix,
CATBSTR oRealNameNT,
CATBSTR oFather)

Retrieves the mapping between a logical name and the physical
path.
Role: Retrieves the mapping between a logical name and the physical
path.

Parameters:

iDLName
the logical name.
oRealNameUnix
the real physical path corresponding to the logical name on Unix.

oRealNameNT
the real physical path corresponding to the logical name on
Windows.
iFather
if applicable the Name of the parent DLName

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_dl_name (str) –

  • o_real_name_unix (str) –

  • o_real_name_nt (str) –

  • o_father (str) –

Returns

None

get_dl_name_creation_right_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetDLNameCreationRightInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves the state of the parameter DLNameCreationRight.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_dl_name_exp(i_dl_name, o_real_name_unix, o_real_name_nt, o_father)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub GetDLNameExp(CATBSTR iDLName,
CATBSTR oRealNameUnix,
CATBSTR oRealNameNT,
CATBSTR oFather)

Retrieves the mapping between a logical name and the physical
path.
Role: Retrieves the mapping between a logical name and the physical path in
a literal form.

Parameters:

iDLName
the logical name.
oRealNameUnix
the real physical path corresponding to the logical name on Unix.

oRealNameNT
the real physical path corresponding to the logical name on
Windows.
iFather
if applicable the Name of the parent DLName

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_dl_name (str) –

  • o_real_name_unix (str) –

  • o_real_name_nt (str) –

  • o_father (str) –

Returns

None

get_dl_name_info(i_dl_name, admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetDLNameInfo(CATBSTR iDLName,
CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves the state of the for a given DLName.
Role: This information defines the state of the setting parameter and is
made up of:

The administration level that sets the current value or the value used
to reset it
The administration level that has locked the setting
parameter.
A flag to indicate whether the setting parameter was
modified.

Parameters:

iDLName
a DLname.
ioAdminLevel
[inout] The administration leve that defines the value used when
resetting the setting parameter.

Legal values:

Default value if the DLName has never been defined in the
administration concatenation.
Admin Level n if the setting parameter has been
administered,
where n is an integer starting from 0 representing the rank of
the administration level.

ioLocked
[inout] A character string to indicate whether the parameter is
locked and the level of administration where the locking has been
proceeded.
Legal values:

Locked at Admin Level n if the setting parameter is locked by
then administration level n,
where n is an integer starting from 0.
Upper Locked if the setting parameter is locked by the current
administration level
Unlocked if the setting parameter is not
locked

Returns:
True to indicate that the DLName value has been defined at the current
administrator or user level. This is only possible with unlocked DLNames. False
means that the DLName is inherited from the
administration.
Parameters
  • i_dl_name (str) –

  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_dl_name_list()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetDLNameList() As CATSafeArrayVariant

Retrieves the list of the DLNames.
Role: Retrieves the list of the defined DLNames.

Parameters:

oTabDLName
a CATSafeArrayVariant of CATBSTR of nb elements.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Returns

tuple

get_dl_name_sub_list(i_dl_name)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetDLNameSubList(CATBSTR iDLName) As
CATSafeArrayVariant

Retrieves the list of the Sub-DLNames.
Role: Retrieves the list of the DLNames created in a given
DLName.

Parameters:

iDLName
The Father DLName. if iDLName=NULL all DLNames created at the root
level are return.
oNbDLname
The number of defined DLNames.
oTabDLName
The array of DLNames

Returns:
Legal values:
S_OK : on Success
E_OUTOFMEMORY: on allocation failure
E_FAIL: on other failures
Parameters

i_dl_name (str) –

Returns

tuple

get_root_dl_name_creation_right_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetRootDLNameCreationRightInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves the state of the parameter
RootDLNameCreationRight.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

remove_dl_name(i_dl_name)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub RemoveDLName(CATBSTR iDLName)

Remove a logical name.
Role: Remove a DLName in the current set if it is
possible.

Parameters:

iDLName
the logical name.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters

i_dl_name (str) –

Returns

None

rename_dl_name(i_dl_name, i_new_name)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub RenameDLName(CATBSTR iDLName,
CATBSTR iNewName)

Rename an existing DLName.
Role: Rename a DLName in the current set if it is
possible.

Parameters:

iDLName
the logical name to rename.
iNewName
the new logical name.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_dl_name (str) –

  • i_new_name (str) –

Returns

None

property root_dl_name_creation_right

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property RootDLNameCreationRight() As boolean

Returns or set the right to create new Root DLNames.
Role: Retrieves or set the right to create new Root DLNames.
Returns

bool

set_dl_name(i_dl_name, i_real_name_unix, i_real_name_nt, i_father, i_verif_directory)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetDLName(CATBSTR iDLName,
CATBSTR iRealNameUnix,
CATBSTR iRealNameNT,
CATBSTR iFather,
boolean iVerifDirectory)

Sets the mapping between a logical name and the physical
path.
Role: Sets the value of the cache maximum size in Mo

Parameters:

iDLName
the logical name.
oRealNameUnix
the real physical path corresponding to the logical name on Unix.

oRealNameNT
the real physical path corresponding to the logical name on
Windows.
iFather
if applicable the Name of the parent DLName
iVerifDirectory
if VerifDirectory is set the existence of the directory on the
current platform will be check.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_dl_name (str) –

  • i_real_name_unix (str) –

  • i_real_name_nt (str) –

  • i_father (str) –

  • i_verif_directory (bool) –

Returns

None

set_dl_name_creation_right_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetDLNameCreationRightLock(boolean iLocked)

Locks or unlocks the parameter DLNameCreationRight.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_dl_name_lock(i_dl_name, i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetDLNameLock(CATBSTR iDLName,
boolean iLocked)

Locks or unlocks the DLName.
Role: Locks or unlocks the given DLName if the operation is allowed in the
current administrated environment. In user mode this method will always return
E_FAIL.

Parameters:

iDLname
the DLname to be locked.
iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_dl_name (str) –

  • i_locked (bool) –

Returns

None

set_root_dl_name_creation_right_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetRootDLNameCreationRightLock(boolean iLocked)

Locks or unlocks the parameter RootDLNameCreationRight.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

dyn_license_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.dyn_license_setting_att.DynLicenseSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
DynLicenseSettingAtt

Interface to handle the dynamic licensing settings.
Role: This interface is implemented by a component which represents the
controller of the dynamic Licenses.
To access this property page:
Click the Options command in the Tools menu
Click General
Click the Shareable Products Property Page

This interface defines:
A method to lock/unlock each parameter
A method to retrieve the information concerning each parameter
Note that when a license is selected, no information is written in the
settings, only the lock status is written in the settings.
get_license(i_license)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicense(CATBSTR iLicense) As CATBSTR

The method is not relevant for the settings.
Role: The method is not relevant for the settings, because a dynamic
license is only taken in account for the current session. That is why
GetLicense() does not appears in the dump, even when GetLicenseInfo() appears.
The output oValue will always be “”.

Parameters:

iLicense
the name of the License.

Returns:
the value of the License.
License “”
Parameters

i_license (str) –

Returns

str

get_license_info(i_license, io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicenseInfo(CATBSTR iLicense,
CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves the state of a given License.
Role: Retrieves the state of a given License. It it is used to get the lock
status of a specific license. When the license is locked, it means that an
administrator has locked the attribute. It does not means that an administrator
has changed the value of the license.

Parameters:

iLicense:
the name of the License.
ioAdminLevel:
Level of administrator.
ioLocked:
Locked/Unlocked.

Returns:
False.
Refer to SettingController for a detailed description.
Dump information:
Parameter 1 : the name of the License.
Parameter 2 : “Default value”.
Parameter 3 : locking state of the licenses Unlocked / Locked / Locked at Admin Level j.
Return value : Always false, because the status of the license is not modified, only the lock
status is modified.
Parameters
  • i_license (str) –

  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

get_licenses_list()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicensesList() As CATSafeArrayVariant

Retrieves the List of the Licenses.
Role: Retrieves the list of the locked Licenses. There is no
SetLicenseList() because the list is initialized using
LUM.

Returns:
The array of Licenses.
Returns

tuple

get_licenses_list_info(io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicensesListInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the LicensesList setting locking state (global
lock for the LicensesList).
Role: Retrieves information about the LicensesList setting locking state
(global lock for the LicensesList) It is used to get the lock status of the
List of the Licenses. If the LicenseList is locked all the licenses are locked.
When the licenses are locked, it means that an administrator has locked the
attribute. It does not means that an administrator has changed the value of the
attribute. The value of the setting is not updatable because it refers to a
lock on a list. That is why the return value is false.

Parameters:

ioAdminLevel:
Level of administrator.
ioLocked:
Locked/Unlocked.

Returns:
False.
Parameter values in dump:
Parameter 1 : “Value taken in case of reset” : useless. Default value: “Default value”.
Parameter 2 : “Locking state” value : unlocked / locked / locked at Admin Level n
Parameter 3 : “Returned value” : useless, default value : False

Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

set_license_lock(i_license, i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLicenseLock(CATBSTR iLicense,
boolean iLock)

Locks or unlocks the License setting parameter.
Role: Locks or unlocks the given License if the operation is allowed in the
current administrated environment.

Parameters:

iLicense:
the name of the License.
iLock
the locking operation to be performed:
True: to lock the parameter.
False: to unlock the parameter.
Refer to

SettingController for a detailed description.
Parameters
  • i_license (str) –

  • i_lock (bool) –

Returns

None

set_licenses_list_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLicensesListLock(boolean iLock)

Locks or unlocks the LicensesList setting parameter.
Role: Locks or unlocks the parameter describing the list of installed
licenses, if the operation is allowed in the current administrated environment.
When the LicenseList is locked all the licenses are locked. When the
LicenseList is unlocked all the licenses are unlocked.

Parameters:

iLock
the locking operation to be performed:
True: to lock the parameter.
False: to unlock the parameter.
Refer to

SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

errorlog_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.errorlog_statistics_setting_att.ErrorlogStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
ErrorlogStatisticsSettingAtt

Interface for Errorlog statistic Controller.

Role: the errorlog statistics controller manages the values of all or only a
part of the attributes available for the thematic.
For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt
property abnd

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ABND() As boolean

Returns or sets the state ot the abend severity level
field.
Role: Returns or sets the state ot the abend severity level
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property cerr

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property CERR() As boolean

Returns or sets the state ot the critical error severity level
field.
Role: Returns or sets the state ot the critical error severity level
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property cmnd

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property CMND() As boolean

Returns or sets the state ot the command name field.
Role: Returns or sets the state ot the command name field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property comt

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property COMT() As boolean

Returns or sets the state ot the abend comment level
field.
Role: Returns or sets the state ot the comment severity level
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property msge

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property MSGE() As boolean

Returns or sets the state ot the message field.
Role: Returns or sets the state ot the message field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property urep

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property UREP() As boolean

Returns or sets the state ot the user report severity level
field.
Role: Returns or sets the state ot the user report severity level
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property warn

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property WARN() As boolean

Returns or sets the state ot the warning severity level
field.
Role: Returns or sets the state ot the warning severity level
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property wkbn

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property WKBN() As boolean

Returns or sets the state ot the workbench name field.
Role: Returns or sets the state ot the workbench name
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

file_access_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.file_access_statistics_setting_att.FileAccessStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
FileAccessStatisticsSettingAtt

Interface for FileAccess statistic Controller
Role: the FileAccess statistics controller manages the values of all or only a
part of the attributes available for the thematic.

For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

general_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.general_statistics_setting_att.GeneralStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
GeneralStatisticsSettingAtt

Interface for General statistic Controller.

Role: the General statistics controller is a generic interface for all the
thematics. One should never use it as a statistics thematic.
property activation

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property Activation() As boolean

Returns or sets the activation state of the statistics
thematic.
Role: Returns or sets the value of statistics thematic activation.
Returns

bool

property cpus

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property CPUS() As boolean

Returns or sets the state ot the cpu time field.
Role: Returns or sets the state ot the cpu time field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property cumulation_mode

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property CumulationMode() As boolean

Returns or sets the cumulation state of the statistics
thematic.
Role: Returns or sets the value of statistics thematic cumulation.
Returns

bool

property date_format

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property DateFormat() As CATBSTR

Returns or sets the state ot the date format field.
Role: Returns or sets the state ot the date format field.

Parameters:

iDateFormat
Legal values:
StandardDate : default date format (Mon Jan 1 08:00.00 2000)
NumericalDate: numerical date
format(2000.001.08.00.00)
NumericalDateMilliecond: numerical date
format(2000.001.08.00.00.000)
Returns

str

property elps

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ELPS() As boolean

Returns or sets the state ot the elapsed time field.
Role: Returns or sets the state ot the elapsed time field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

get_format_mode(flag)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetFormatMode(long flag) As boolean

Returns the format mode of the statistics thematic.
Role: Returns or sets the format mode of the statistics
thematic.

Parameters:

oFormatMode
Legal values:
TRUE : the thematic output is formated (field=”value”).
FALSE: the thematic output is not formated
(“value”).
Parameters

flag (int) –

Returns

bool

get_thematics_parameter_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetThematicsParameterInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the general statistics
parameters.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

property host

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property HOST() As boolean

Returns or sets the state ot the host name field.
Role: Returns or sets the state ot the host name field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property output

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property Output() As CATBSTR

Returns or sets the output format of the statistics
thematic.
Role: Returns or sets the output format of the statistics
thematic.

Parameters:

oOutputType
Legal values:
File :statistics are outputed in a file
Console: statistics are outputed on the console (if
available)
Returns

str

property output_file

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property OutputFile() As CATBSTR

Returns or sets the path of the statistics thematic file.
Role: Returns or sets the path of the statistics thematic file.
Returns

str

property output_format

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property OutputFormat() As CATBSTR

Returns or sets the state ot the output format field.
Role: Returns or sets the state ot the output format
field.

Parameters:

iOutputFormat
Legal values:
StandardOutput: default format
NoThematics : the thematic name is not repeated on each line
Returns

str

property rtim

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property RTIM() As boolean

Returns or sets the state ot the response time field.
Role: Returns or sets the state ot the response time
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

set_format_mode(i_format_mode, flag)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetFormatMode(boolean iFormatMode,
long flag)

Sets the format mode of the statistics thematic.
Role: Returns or sets the format mode of the statistics
thematic.

Parameters:

iFormatMode
Legal values:
TRUE : the thematic output is formated (field=”value”).
FALSE: the thematic output is not formated
(“value”).
Parameters
  • i_format_mode (bool) –

  • flag (int) –

Returns

None

set_thematics_parameter_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetThematicsParameterLock(boolean iLocked)

Locks or unlocks the general statistics parameters.
Role:Locks or unlocks the statistics parameters.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on Failure
Parameters

i_locked (bool) –

Returns

None

property them

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property THEM() As boolean

Returns or sets the state ot the thematic field.
Role: Returns or sets the state ot the thematic field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property time

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property TIME() As boolean

Returns or sets the state ot the time and date field.
Role: Returns or sets the state ot the time and date
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property time_unit

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property TimeUnit() As CATBSTR

Returns or sets the state ot the time unit field.
Role: Returns or sets the state ot the time unit field.

Parameters:

iTimeUnit
Legal values:
Second : durations are in seconds
Millisecond: durations are in milliseconds
Returns

str

property upid

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property UPID() As boolean

Returns or sets the state ot the user pid field.
Role: Returns or sets the state ot the user pid field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

property user

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property USER() As boolean

Returns or sets the state ot the user name field.
Role: Returns or sets the state ot the user name field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

global_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.global_statistics_setting_att.GlobalStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
GlobalStatisticsSettingAtt

Interface for Global statistic Controller
Role: the global statistics controller manages the values of all or only a part
of the attributes available for all the statistics thematics.
property buffer_size

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property BufferSize() As long

Returns or sets the size of buffer.
Role: Returns or sets the size of the buffer.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on Failure
Returns

int

property copy_directory

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property CopyDirectory() As CATBSTR

Returns or sets the path of the copy directory.
Role: Returns or sets the path of the directory where the copy files are
located.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on Failure
Returns

str

get_thematics_parameter_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetThematicsParameterInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the global statistics
parameters.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

property max_copy_file

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property MaxCopyFile() As long

Returns or sets the maximum number of copy files.
Role: Returns or sets the value of the maximum number of statistics files
copies.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on Failure
Returns

int

property max_size_per_file

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property MaxSizePerFile() As long

Returns or sets the maximum size per file.
Role: Returns or sets the value of the maximum size of statistics
files.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on Failure
Returns

int

set_thematics_parameter_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetThematicsParameterLock(boolean iLocked)

Locks or unlocks the global statistics parameters.
Role:Locks or unlocks the global statistics parameters.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on Failure
Parameters

i_locked (bool) –

Returns

None

i_dispatch

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.i_dispatch.IDispatch

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
IDispatch

Base interface for all Automation interfaces.
Role: All Automation interfaces derive from IDispatch which replaces for UNIX
the native Microsoft(R) IDispatch interface. This interface supplies basic
methods to be Microsoft(R) Automation compliant.

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

i_unknown

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.i_unknown.IUnknown

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

Role: All interfaces derive from IUnknown which replaces for UNIX the native
Microsoft(R) IUnknown interface. This interface supplies the three basic
methods QueryInterface, AddRef and Release to be COM (Microsoft(R) Component
Object Model) compliant. These methods cannot be used in a
macro.

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

license_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.license_setting_att.LicenseSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
LicenseSettingAtt

Interface to handle the licensing settings.
Role: This interface is implemented by a component which represents the
controller of the static Licenses.
To access this property page:
Click the Options command in the Tools menu
Click General
Click the Licensing Property Page

This interface defines:
A method to set each License
A method to get the value of each License
A method to lock/unlock each parameter
A method to retrieve the information concerning each parameter
property demo_mode

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property DemoMode() As boolean

Retrieves or Sets the demo mode.
Role: Retrieves or sets the value of the parameter describing if the demo
mode is active.
Returns

bool

property frequency

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property Frequency() As float

Retrieves or Sets the contact frequency.
Role: Retrieves or sets the value of the parameter describing the server
contact frequency in minutes. Note that a null value represents the maximum
contact frequency value. For more information about the range and maximum,
refers to the Infrastructure documentation.
Returns

float

get_demo_mode_info(io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetDemoModeInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the DemoMode setting
parameter.
Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

get_frequency_info(io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetFrequencyInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the Frequency setting
parameter.
Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

get_granted_licenses_list(i_default_licenses)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetGrantedLicensesList(long iDefaultLicenses) As
CATSafeArrayVariant

Deprecated:
V5R15 CATSysLicenseSettingAtt#GetLicensesList
Parameters

i_default_licenses (int) –

Returns

tuple

get_license(i_license)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicense(CATBSTR iLicense) As CATBSTR

Retrieves the value of the license.
Role: Retrieves the mapping between a name of a license and the value of
the license. The license does not need to be returned by GetLicensesList(). But
if the license is not installed the license will be
“NotRequested”

Parameters:

iLicense
the name of the License: “PMG.prd”, “_MD2.slt+”, “_MD2.slt+GSD” for
example.
“PMG.prd” represent the license of the product
PMG.
“_MD2.slt+” represent the license of the solution
MD2.
“_MD2.slt+GSD” represent the license of the solution MD2, with the
AddOn product GSD.

Returns:
the value of the License:
NotRequested : License is not Requested
key : the name of the license, the default available license has been chosen by the user.
License is Requested.
License Number : a specific license number has been chosen by the user. License is Requested.
Parameters

i_license (str) –

Returns

str

get_license_info(i_license, io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicenseInfo(CATBSTR iLicense,
CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the License setting parameter.
Refer to SettingController for a detailed description.
Parameters
  • i_license (str) –

  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

get_licenses_list(i_default_licenses)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicensesList(long iDefaultLicenses) As
CATSafeArrayVariant

Retrieves the list of the requested or locked licenses.
Role: Retrieves the list of the requested or locked licenses. There is no
SetLicensesList() because the list is initialized using
LUM.

Parameters:

iDefaultLicenses
If iDefaultLicenses!=0 and the settings are empty, returns the
default licenses, that is, the visible nodolocked licenses. If iDefaultLicenses
== 0 and the settings are empty, returns the selected licenses (not yet stored,
because not yet validated by OK button).

Returns:
The array of Licenses.
character meaning in license name:
“_”: internal notation for a license configuration
“+”: you chose “Any license” mode, example of returned value:
_ME1.slt+FS1
When the return value is a serial number (_ME1.slt_SerialNumber), you
have chosen the “Explicit” license mode. In this case the add on product is not
indicated in the license name.
Parameters

i_default_licenses (int) –

Returns

tuple

get_licenses_list_info(io_admin_level, io_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetLicensesListInfo(CATBSTR ioAdminLevel,
CATBSTR ioLock) As boolean

Retrieves information about the LicensesList setting
parameter.
Role: Retrieves information about the LicensesList setting locking state
(global lock for the LicensesList). It is used to get the lock status of the
List of the Licenses. If the LicensesList is locked all the licenses are
locked. When the licenses are locked, it means that an administrator has locked
the attribute. It does not means that an administrator has changed the value of
the attribute. The value of the setting is not updatable because it refers to a
lock on a list. That is why the return value is false.

Parameters:

ioAdminLevel:
Level of administrator.
ioLock:
Locked/Unlocked.

Returns:
False
Information returned in the dump:
Parameter 1 : “Value taken in case of reset” : useless. Default value : “Default value”
Parameter 2 : “Locking state” value : unlocked / locked / locked at Admin Level n
Parameter 3 : “Returned value” : useless, default value : False

Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_lock (str) –

Returns

None

get_nodelock_alert_info(io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetNodelockAlertInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the license expiry alert setting
parameter.
Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

get_server_time_out_info(io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetServerTimeOutInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the TimeOut setting parameter.
Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

get_show_license_info(io_admin_level, io_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetShowLicenseInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves information about the ShowLicense setting
parameter.
Refer to SettingController for a detailed description.
Parameters
  • io_admin_level (str) –

  • io_locked (str) –

Returns

None

property nodelock_alert

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property NodelockAlert() As long

Retrieves or Sets the license expiry alert.
Role: Retrieves or sets the value of the parameter describing the lthe
license expiry alertt in days. For more information about the range and
maximum, refers to the Infrastructure documentation.
Returns

int

property server_time_out

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ServerTimeOut() As float

Retrieves or Sets the server time out.
Role: Retrieves or sets the value of the parameter describing the licensing
server time out in minutes. For more information about the range and maximum,
refers to the Infrastructure documentation.
Returns

float

set_demo_mode_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetDemoModeLock(boolean iLock)

Locks or unlocks the DemoMode setting parameter.
Refer to SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

set_frequency_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetFrequencyLock(boolean iLock)

Locks or unlocks the Frequency setting parameter.
Refer to SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

set_license(i_license, i_value)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLicense(CATBSTR iLicense,
CATBSTR iValue)

Sets the License.
Role: Sets the value of the license.

Parameters:

iLicense
the name of the License: “PMG.prd”, “_MD2.slt+”, “_MD2.slt+GSD” for
example.
“PMG.prd” represent the license of the product
PMG.
“_MD2.slt+” represent the license of the solution
MD2.
“_MD2.slt+GSD” represent the license of the solution MD2, with the
AddOn product GSD.
iValue

the value of the License:
NotRequested : License is not Requested
key : the name of the license, the default available license has been chosen by the user.
License is Requested.
License Number : a specific license number has been chosen by the user.
License is Requested.
Parameters
  • i_license (str) –

  • i_value (str) –

Returns

None

set_license_lock(i_license, i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLicenseLock(CATBSTR iLicense,
boolean iLock)

Locks or unlocks the License setting parameter.
Refer to SettingController for a detailed description.
Parameters
  • i_license (str) –

  • i_lock (bool) –

Returns

None

set_licenses_list_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetLicensesListLock(boolean iLock)

Locks or unlocks the LicensesList setting parameter.
Role:Locks or unlocks the LicensesList setting parameter. Locks or unlocks
the parameter describing the list of installed licenses, if the operation is
allowed in the current administrated environment. It is the global lock on all
the licenses. When the LicenseList is locked all the licenses are locked. When
the LicenseList is unlocked all the licenses are unlocked.

Parameters:

iLock
the locking operation to be performed:
True: to lock the parameter.
False: to unlock the parameter.
Refer to

SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

set_nodelock_alert_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetNodelockAlertLock(boolean iLock)

Locks or unlocks the license expiry alert setting
parameter.
Refer to SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

set_server_time_out_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetServerTimeOutLock(boolean iLock)

Locks or unlocks the TimeOut setting parameter.
Refer to SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

set_show_license_lock(i_lock)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetShowLicenseLock(boolean iLock)

Locks or unlocks the ShowLicense setting parameter.
Refer to SettingController for a detailed description.
Parameters

i_lock (bool) –

Returns

None

property show_license

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ShowLicense() As boolean

Retrieves or Sets the show license .
Role: Retrieves or sets the value of the parameter describing the complete
license information. When the parameter is set, the user gets more information
about the reason of the failure to request a license.
Returns

bool

memory_warning_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.memory_warning_setting_att.MemoryWarningSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
MemoryWarningSettingAtt

Represents the base object to handle the parameters of memory warning
mechanism.
This mechanism informs the user when the process memory use exceeds a given
percentage of the address space usage. This mechanism warns you that because
the amout of remaining memory is becoming low, you should save your data and
leave the session.
property activation_state

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property ActivationState() As boolean

Returns or sets the activation state of the memory warning
mechanism.
Role: Returns or sets the value of of the memory warning.
Returns

bool

get_activation_state_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetActivationStateInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the memory warning
mechanism.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_memory_stopper_state_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetMemoryStopperStateInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the memory stopper
mechanism.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

get_usage_limit_info(admin_level, o_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetUsageLimitInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean

Retrieves environment informations for the alert
percentage.
Refer to SettingController for a detailed description.
Parameters
  • admin_level (str) –

  • o_locked (str) –

Returns

None

property memory_stopper_state

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property MemoryStopperState() As boolean

Returns or sets the activation state of the memory stopper
mechanism.
Role: Returns or sets the value of of the memory stopper.
Returns

bool

set_activation_state_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetActivationStateLock(boolean iLocked)

Locks or unlocks the activation mode of the memory warning
mechanism.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_memory_stopper_state_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetMemoryStopperStateLock(boolean iLocked)

Locks or unlocks the activation mode of the memory stopper
mechanism.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

set_usage_limit_lock(i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetUsageLimitLock(boolean iLocked)

Locks or unlocks the the alert percentage.
Refer to SettingController for a detailed description.
Parameters

i_locked (bool) –

Returns

None

property usage_limit

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property UsageLimit() As long

Returns or sets the alert percentage.
Role: Returns or sets the percentage of the address space usage that can be
used by the process before sending the warning.
Returns

int

pcs_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.pcs_statistics_setting_att.PcsStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
PCSStatisticsSettingAtt

Interface for PCS statistic Controller
Role: the PCS statistics controller manages the values of all or only a part of
the attributes available for the thematic.

For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt
property mem_use

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
o Property MemUse() As boolean

Returns or sets the state ot the memory field.
Role: Returns or sets the state ot the workbench name
field.

Parameters:

oStatus
Legal values:
TRUE : the field is activated
FALSE: the field is not activated
Returns

bool

server_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.server_statistics_setting_att.ServerStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
ServerStatisticsSettingAtt

Interface for Server statistic Controller
Role: the server statistics controller manages the values of all or only a part
of the attributes available for the thematic.

For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

session_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.session_statistics_setting_att.SessionStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
SessionStatisticsSettingAtt

Interface for Session statistic Controller
Role: the session statistics controller manages the values of all or only a part
of the attributes available for the thematic.

For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.

setting_controller

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.setting_controller.SettingController(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SettingController

Represents the base object for setting controllers.
Role: A setting controller manages all or only a part of the parameters
available in a property page of the dialog displayed using the Options command
of the Tools menu. Each setting parameter may be represented by one or several
setting attribute in the underlying setting repository.

All setting controllers share the five methods of the SettingController object
to deal with the whole set, or a subset of the setting
attributes:

Commit to make a memory copy of the setting attribute
values
Rollback to restore the last memory copy of the setting attribute
values
ResetToAdminValues to restore the administered values of all the
attributes
ResetToAdminValuesByName to restore the administered values of a subset of
the attributes
SaveRepository to make a persistent copy of the setting attribute values on
file.

In addition, each setting controller exposes four methods per setting
parameter: two methods to access the setting attribute values, that usually
make up a read/write property if the setting parameter is represented by a
single setting attribute, a method to manage the setting parameter lock, and a
method to retrieve the state of the setting parameter. The first two methods
are parameter-specific and are fully described in the setting controller object
that managing the setting parameter. The last two methods have always the same
signature and the same behavior whatever the setting parameter. They are
described below. PARAMETER is used in place of the actual setting parameter
name.

Managing the Setting Parameter Lock

HRESULT SetPARAMETERLock(in boolean iLocked);

Locks or unlocks the PARAMETER setting parameter.
Role: Locking a setting parameter prevents the end user, or the
administrators below the current one, from changing the setting parameter
value. Locking or unlocking the PARAMETER setting parameter is an administrator
task and is possible when running a session in the administration mode
only.

Parameters

iLocked
[in] A flag to indicate whether the PARAMETER setting parameter
should be locked.
Legal values: True to lock, and False to unlock.


Retrieving the Setting Parameter State

HRESULT GetPARAMETERInfo (inout CATBSTR ioAdminLevel,
inout CATBSTR ioLocked,
out /IDLRETVAL/ boolean
oModified);

Retrieves information about the PARAMETER setting
parameter.
Role: This information defines the state of the setting parameter and is
made up of:
The administration level that sets the current value or the value used
to reset it
The administration level that has locked the setting
parameter.
A flag to indicate whether the setting parameter was
modified.

Parameters

ioAdminLevel
[inout] The administration leve that defines the value used when
resetting the setting parameter.

Legal values:
Default value if the setting parameter has never been
explicitly set in the administration
concatenation.
Set at Admin Level n if the setting parameter has been
administered,
where n is an integer starting from 0 representing the rank of
the administration level.
ioLocked
[inout] A character string to indicate whether the parameter is
locked and the level of administration where the locking has been
proceeded.
Legal values:
Locked at Admin Level n if the setting parameter is locked by
then administration level n,
where n is an integer starting from 0. The setting parameter
can not be modified at the current level.
Locked if the setting parameter is locked by the current
administration level. Only an admistrator can get this
value.
Unlocked if the setting parameter is not
locked

Returns
True to indicate that the setting parameter value has been explicitely
modified at the current administrator or user level. This is only possible with
unlocked parameters. False means that it inherits the administered
value.
commit()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub Commit()

Makes a memory copy of the setting attribute values.
Role: Commit saves the current values of the setting attributes managed by
the setting controller in a specific memory area. Successive calls to Commit
overwrite the memory area. The values saved by the last call to Commit can be
restored from that memory area using the Rollback method.
Returns

None

reset_to_admin_values()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub ResetToAdminValues()

Restores the administrated values of the all attributes.
Role: ResetToAdminValues restores all the values of the setting attributes
managed by the setting controller to either the values set by the setting
administrator, or to their default values if the setting administrator did not
change them.
Returns

None

reset_to_admin_values_by_name(i_att_list)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub ResetToAdminValuesByName(CATSafeArrayVariant iAttList)

Restores the administrated values of a subset of the
attributes.
Role: ResetToAdminValuesByName restores the values of a subset of the
setting attributes managed by the setting controller to either the values set
by the setting administrator, or to their default values if the setting
administrator did not change them.

Parameters:

iAttList
The attribute subset to which the administrated values are to be
restored
Parameters

i_att_list (tuple) –

Returns

None

rollback()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub Rollback()

Restores the last memory copy of the setting attribute
values.
Role: Rollback restores the values of the setting attributes managed by the
setting controller from the memory area. All values of the setting attributes
managed by the setting controller modified since the last call to Commit are
restored to the values they had when this last Commit was called.
Returns

None

save_repository()

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SaveRepository()

Makes a persistent copy of the setting attribute values on
file.
Role: SaveRepository saves the current values of the setting attributes
managed by the setting controller in a setting repository file. To avoid
inconsistencies, SaveRepository first saves the values in the memory area used
by the Commit method by calling Commit before writing the values in the setting
repository file.
Returns

None

setting_repository

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.setting_repository.SettingRepository(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
SettingRepository

Represents the base object to handle the parameters of a
setting
get_attr(i_attr_name)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetAttr(CATBSTR iAttrName) As CATVariant

Retieves a attribute.

Parameters:

iAttrName
the attribute name
oAttr
a CATVariant

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters

i_attr_name (str) –

Returns

CATVariant

get_attr_array(i_attr_name)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func GetAttrArray(CATBSTR iAttrName) As
CATSafeArrayVariant

Retieves a attribute of type array

Parameters:

iAttrName
the attribute name
oArray
a CATSafeArrayVariant

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters

i_attr_name (str) –

Returns

tuple

get_attr_info(i_attr_name, admin_level, locked, o_modified)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub GetAttrInfo(CATBSTR iAttrName,
CATBSTR AdminLevel,
CATBSTR Locked,
boolean oModified)

Retrieves environment informations for the given
attribute.
Role: This information defines the state of the setting parameter and is
made up of:

The administration level that sets the current value or the value used
to reset it
The administration level that has locked the setting
parameter.
A flag to indicate whether the setting parameter was
modified.

Parameters:

iAttrName
[in] the attribute name.
ioAdminLevel
[inout] The administration level that defines the value used when
resetting the setting parameter.

Legal values:

Default value if the setting parameter has never been
explicitly set in the administration
concatenation.
Set at Admin Level n if the setting parameter has been
administered,
where n is an integer starting from 0 representing the rank of
the administration level.

ioLocked
[inout] A character string to indicate whether the parameter is
locked and the level of administration where the locking has been
proceeded.
Legal values:

Locked at Admin Level n if the setting parameter is locked by
then administration level n,
where n is an integer starting from 0. The setting parameter
can not be modified at the current level.
Locked if the setting parameter is locked by the current
administration level. Only an admistrator can get this
value.
Unlocked if the setting parameter is not
locked

oModified
[out] True to indicate that the setting parameter value has been
explicitely modified at the current administrator or user level. This is only
possible with unlocked parameters. False means that it inherits the
administered value.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_attr_name (str) –

  • admin_level (str) –

  • locked (str) –

  • o_modified (bool) –

Returns

None

put_attr(i_attr_name, i_attr)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub PutAttr(CATBSTR iAttrName,
CATVariant iAttr)

Sets an attribute of type array.

Parameters:

iAttrName
the attribute name
iArray
a CATSafeArrayVariant.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_attr_name (str) –

  • i_attr (CATVariant) –

Returns

None

put_attr_array(i_attr_name, i_array)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub PutAttrArray(CATBSTR iAttrName,
CATSafeArrayVariant iArray)

Sets an attribute of type array.

Parameters:

iAttrName
the attribute name
iArray
a CATSafeArrayVariant.

Returns:
Legal values:
S_OK : on Success
E_FAIL: on failure
Parameters
  • i_attr_name (str) –

  • i_array (tuple) –

Returns

None

set_attr_lock(i_attr_name, i_locked)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub SetAttrLock(CATBSTR iAttrName,
boolean iLocked)

Locks or unlocks an attribute.
Role: Locking a setting attribute prevents the end user, or the
administrators below the current one, from changing the setting parameter
value. Locking or unlocking the attribute setting parameter is an administrator
task and is possible when running a session in the administration mode
only.

Parameters:

iAttrName
[in] the attribute name.
iLocked
[in] A flag to indicate whether the attribute setting parameter
should be locked.
Legal values: True to lock, and False to unlock.
Parameters
  • i_attr_name (str) –

  • i_locked (bool) –

Returns

None

system_service

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.system_service.SystemService(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SystemService

Represents an object which provides system services.
environ(i_env_string)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func Environ(CATBSTR iEnvString) As CATBSTR

Returns the value of an environment variable.

Parameters:

iEnvString
The name of the environment variable

Example:
This example retrieves the value of the PATH variable in the Value
string.

Value = CATIA.SystemService.Environ(“PATH”)
Parameters

i_env_string (str) –

Returns

str

evaluate(i_script_text, i_language, i_function_name, i_parameters)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func Evaluate(CATBSTR iScriptText,
CATScriptLanguage iLanguage,
CATBSTR iFunctionName,
CATSafeArrayVariant iParameters) As CATVariant

Evaluates a scripted function.

Parameters:

iScriptText
The program text
iLanguage
The language the program is written in
iFunctionName
The name of the function to invoke
iParameters
An array of parameters for the function
oResult
The value returned by the function (if any)

Example:
This example executes the function CATMain from the CodeToEvaluate
string

Dim params()
Dim codeToEvaluate
CodeToEvaluate = “Sub CATMain()” & vbNewLine & _
“MsgBox ” & chr(34) & “Hello World” & chr(34) &
vbNewLine & _
“End Sub”
CATIA.SystemService.Evaluate CodeToEvaluate, CATVBScriptLanguage,
“CATMain”, params
Parameters
  • i_script_text (str) –

  • i_language (CATScriptLanguage) –

  • i_function_name (str) –

  • i_parameters (list) –

Returns

None

execute_background_processus(i_executable_path)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func ExecuteBackgroundProcessus(CATBSTR iExecutablePath) As
long

Executes an asynchronous process. This process is launched in background
and ExecuteBackgroundProcess doesn’t wait for it to complete. If the executable
to run needs a specific environment to works correctly (for example environment
variables like PATH or LD_LIBRARY_PATH correctly set), this environment must
have been set in order to make this method succeed. If this executable needs to
be launched from a window, this method will fail.

Parameters:

iExecutablePath
The path of the executable to run and its arguments If the executable is not present in
the PATH environment variable, you must specify its complete absolute path. If this path
contains blanks, you must enclose it with the simple quote character ‘’’ : for example
CATIA.SystemService.ExecuteBackgroundProcess “‘C:/Program Files/myApp/myApp.exe’ myArg”.

Returns:
Non significative return code. It’s never the asynchronous process
return code

Example:
This example executes the command located at

and doesn’t wait the end of its execution.

CATIA.SystemService.ExecuteBackgroundProcessus “”
Parameters

i_executable_path (str) –

Returns

int

execute_processus(i_executable_path)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func ExecuteProcessus(CATBSTR iExecutablePath) As long

Executes a synchronous process. If this process is succesfully launched,
ExecuteProcessus waits for it to terminate and returns the process return code.
If the executable to run needs a specific environment to works correctly (for
example environment variables like PATH or LD_LIBRARY_PATH correctly set), this
environment must have been set in order to make this method succeed. If this
executable needs to be launched from a window, this method will
fail.

Parameters:

iExecutablePath
The path of the executable to run and its arguments. If the executable is not present in
the PATH environment variable, you must specify its complete absolute path. If this
executable path contains blanks, you must enclose it with the simple quote
character ‘’’ to allow the implementation to follow the whole line to the MS call
(otherwise only the last part will be sent to the MS call) : Additionally, arguments
with blank must be enclosed in double quote in Microsoft call (do not forget to espace
double quote in VBA, with another double quote).
for example CATIA.SystemService.ExecuteProcessus(“’”“C:/Program Files/myApp/myApp.exe”“’
myArg1 ‘”“myAr g2”“’”)
will start the command line “C:/Program Files/myApp/myApp.exe” myArg1 “myAr g2”
on Microsoft OS. On Windows, to run a batch file you must execute the command interpreter
: set the executable to cmd.exe set the arguments to the following ones
: /c plus the name of the batch file. For example CATIA.SystemService.ExecuteProcessus
“cmd.exe /c E:/MyBatchFile.bat” On Windows, an argument that contains a blank must be
doubly enclosed ; first with the single quote character then, inside the single enclosing
quote, with the double quote character. For example CATIA.SystemService.ExecuteProcessus
“cmd.exe /c ‘” & Chr$(34) & “E:/My Bat File.bat” & Chr$(34) & “’”

Returns:
The synchronous process return code

Example:
This example executes the command located at

waits for it to end, and returns its return code.

ReturnCode = CATIA.SystemService.ExecuteProcessus(“”)
Parameters

i_executable_path (str) –

Returns

int

execute_script(i_library_name, i_type, i_program_name, i_function_name, i_parameters)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Func ExecuteScript(CATBSTR iLibraryName,
CatScriptLibraryType iType,
CATBSTR iProgramName,
CATBSTR iFunctionName,
CATSafeArrayVariant iParameters) As CATVariant

Executes a scripted function.

Parameters:

iLibraryName
The library in which the script is contained
iLibraryType
The type of the library
iProgramName
The name of the program in the library
iFunctionName
The name of the function to invoke
iParameters
An array of parameters for the function
oResult
The value returned by the function (if any)

Example:
This example executes the function CATMain in the program Macro1.catvbs
contained by Part1.CATPart

Dim params()
CATIA.SystemService.ExecuteScript”Part1.CATPart”,
catScriptLibraryTypeDocument, “Macro1.catvbs”, “CATMain”,
params
Parameters
  • i_library_name (str) –

  • i_type (CatScriptLibraryType) –

  • i_program_name (str) –

  • i_function_name (str) –

  • i_parameters (tuple) –

Returns

None

print(i_string)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
o Sub Print(CATBSTR iString)

Prints a string on stdout.

Parameters:

iString
The string to print

Example:
This example prints the string “Hello world!”.

CATIA.SystemService.Print(“Hello world!”)
Parameters

i_string (str) –

Returns

None

workbench_statistics_setting_att

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.system_interfaces.workbench_statistics_setting_att.WorkbenchStatisticsSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
System.GeneralStatisticsSettingAtt
WorkbenchStatisticsSettingAtt

Interface for Workbench statistic Controller.

Role: the workbench statistics controller manages the values of all or only a
part of the attributes available for the thematic.
For the definitions of methods and variables common to every thematic, see the
GeneralStatisticsSettingAtt

Copyright © 1999-2011, Dassault Systèmes. All rights reserved.