ISystem

class ISystem

Bases: ImpactCOMWrapperBase

Summary:

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.

Summary:

Gets the active language.

Returns:

The value of active_language.

Return type:

active_language (ILanguage)

Examples:

property convertor

Gets Convertor.

Summary:

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.

Summary:

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

Returns:

The value of Fonts.

Return type:

fonts (IFonts)

Examples:

property languages

Gets Languages.

Summary:

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

Returns:

The value of Languages.

Return type:

languages (ILanguages)

Examples:

property licence

Gets Licence.

Summary:

Gets the licence information associated with the system.

Returns:

The value of Licence.

Return type:

licence (ILicence)

property product_id

Gets product_id.

Summary:

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.

Summary:

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.

Summary:

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.

Summary:

Gets the version information.

Returns:

The value of Version.

Return type:

version (IVersion)

get_error_messages()
Summary:

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.

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.

Examples