IImportExportMasterSetting

class IImportExportMasterSetting

Bases: IMasterSetting

Summary:

Represents an import/export master tool setting in the database.

Remarks:

Introduced in Impact 5.1.4.24.

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

property export_formats

Gets export_formats.

Summary:

Gets a list of ipFileFormat enumeration constants that represent the file formats this setting can be used to export drawings.

Returns:

The value of export_formats.

Return type:

export_formats (IFileFormats)

property full_name

Gets full_name.

Summary:

Gets the full name of the setting including the path.

Returns:

The value of full_name.

Return type:

full_name (str)

property import_formats

Gets import_formats.

Summary:

Gets a list of ipFileFormat enumeration constants that represent the file formats this setting can be used to import drawings.

Returns:

The value of import_formats.

Return type:

import_formats (IFileFormats)

property key

Gets Key.

Summary:

Gets the key of the setting.

Returns:

The value of Key.

Return type:

key (int)

property name

Gets Name.

Summary:

Gets the name of the setting.

Returns:

The value of Name.

Return type:

name (str)

property sites

Gets Sites.

Summary:

An ISites collection containing all the sites with which this MTS is associated.

Remarks:

If IDatabase.settings.mts_sites is false, then NULL will be returned.

Returns:

The value of Sites.

Return type:

sites (ISites)

property type

Gets Type.

Summary:

The type of setting.

Returns:

The value of Type.

Return type:

type (ipMasterSettingType)

isNone()

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

refresh()
Summary:

Refresh the setting from the database.

Examples