IEnquireArea

class IEnquireArea

Bases: ImpactCOMWrapperBase

Description:

The IEnquireArea object contains information about areas and perimeters for a layer.

Remarks:

From Impact 6.1.0.40 and 7.0.0.57 onwards, this object may also be used (with mode eamOneUps) to calculate the total of one-up areas in a multi-up layer (a layout). Prior to those versions, the object’s properties will be zero if the mode is eamOneUps and the layer is not a one-up.

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

property inside_area

Gets inside_area.

Description:

Returns the sum of the internal waste areas (holes) in the layer.

Returns:

The value of inside_area.

Return type:

inside_area (float)

property inside_perimeter

Gets inside_perimeter.

Description:

Returns the sum of the perimeters of the internal waste areas (holes) in the layer.

Returns:

The value of inside_perimeter.

Return type:

inside_perimeter (float)

property mode

Gets Mode.

Description:

Specifies the mode of operation.

Returns:

The value of Mode.

Return type:

mode (ipEnquireAreaMode)

property outside_area

Gets outside_area.

Description:

Returns the entire area of the layer, including any internal waste areas (holes).

Returns:

The value of outside_area.

Return type:

outside_area (float)

property outside_perimeter

Gets outside_perimeter.

Description:

Returns the perimeter of the outside edge of the entire area of the layer.

Returns:

The value of outside_perimeter.

Return type:

outside_perimeter (float)

property result_area

Gets result_area.

Description:

Returns the actual used area of the layer, excluding any waste areas, i.e. outside_area - inside_area.

Remarks:

Note: This property is equivalent to accessing the ILayer.one_up_area property when in eamOneUpsMode.

Returns:

The value of result_area.

Return type:

result_area (float)

perform()
Description:

Call the Perform method to calculate the various areas and perimeters.

Examples