IDrawingVariableSettings

class IDrawingVariableSettings

Bases: ImpactCOMWrapperBase

Description:

Represents all the variables, variable groups and variable settings in a drawing.

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

property expressions_comma_decimal_separator

Gets expressions_comma_decimal_separator.

Description:

Gets and sets whether a comma is used as the decimal separator

Remarks:

Introdcued in Impact 13.0.0.56

Returns:

The value of expressions_comma_decimal_separator.

Return type:

expressions_comma_decimal_separator (bool)

property expressions_metric

Gets expressions_metric.

Description:

Gets and sets whether expressions are using metric units

Remarks:

Introduced in Impact 13.0.0.56

Returns:

The value of expressions_metric.

Return type:

expressions_metric (bool)

property groups

Gets Groups.

Description:

Returns an IVariableGroups collection representing all the variable groups in the drawing.

Returns:

The value of Groups.

Return type:

groups (IVariableGroups)

property preview3_d_layer

Gets preview3_d_layer.

Description:

Returns the layer name used as the 3D preview in the Standards Browser.

Returns:

The value of preview3_d_layer.

Return type:

preview3_d_layer (str)

property preview_layer

Gets preview_layer.

Description:

Returns the layer name used as the preview in the Standards Browser.

Returns:

The value of preview_layer.

Return type:

preview_layer (str)

property using_iml_variables

Gets using_iml_variables.

Description:

Indicates if the drawing is using IML variables.

Returns:

The value of using_iml_variables.

Return type:

using_iml_variables (bool)

property variables

Gets Variables.

Description:

Returns an IVariables collection representing all the variables in the drawing.

Returns:

The value of Variables.

Return type:

variables (IVariables)

convert_iml_variables()
Description:

Converts IML variables to normal variables.

delete_iml_variables()
Description:

Deletes all IML variables.