ISystem

class ISystem

Bases: ImpactCOMWrapperBase

Description:

Sets COM wide system properties.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property active_language

Gets active_language.

Description:

Gets the active language.

Returns:

The value of active_language.

Return type:

active_language (ILanguage)

property convertor

Gets Convertor.

Description:

Provides useful conversion methods (for example, distance to string and vice versa).

Remarks:

In an Impact context, angle and distance formats respect the appropriate values in the Application.units property. The units and formatting can be controlled by optionally specifying unit settings (see IConverter.units_settings).

Returns:

The value of Convertor.

Return type:

convertor (IConvertor)

property fonts

Gets Fonts.

Description:

Gets a collection of IFont objects representing all the fonts available to the system.

Returns:

The value of Fonts.

Return type:

fonts (IFonts)

property languages

Gets Languages.

Description:

Gets an ILanguages collection representing all the languages available to the system.

Returns:

The value of Languages.

Return type:

languages (ILanguages)

property licence

Gets Licence.

Description:

Gets the licence information associated with the system.

Returns:

The value of Licence.

Return type:

licence (ILicence)

property product_id

Gets product_id.

Description:

Gets the product type of this application.

Remarks:

Introduced in Impact 5.1.3.50.

Returns:

The value of product_id.

Return type:

product_id (ipProductType)

property product_name

Gets product_name.

Description:

Gets the name of the application.

Remarks:

Introduced in Impact 5.1.3.50.

Returns:

The value of product_name.

Return type:

product_name (str)

property time_zone_id

Gets time_zone_id.

Description:

Returns the standard time zone name.

Remarks:

introduced in Impact 11.0.0.13

Returns:

The value of time_zone_id.

Return type:

time_zone_id (str)

property version

Gets Version.

Description:

Gets the version information.

Returns:

The value of Version.

Return type:

version (IVersion)

get_error_messages()
Description:

Gets the last errors that occured (if any).

Remarks:

This method returns a variant that contains the descriptions of all the last errors, i.e. the variant is a list of strings. Remember arrays are zero based and collections are one based.