IHatcher

class IHatcher

Bases: ImpactCOMWrapperBase

Summary:

Allows the hatching of an area (defined by an IShape object).

Remarks:

Introduced in Impact 8.0.0.74

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

property block_base_position

Gets block_base_position.

Summary:

Specifies where to place the origin (insertion point) of the hatch block.

Remarks:

Introduced in Impact 8.0.0.74

Returns:

The value of block_base_position.

Return type:

block_base_position (ipBlockPosition)

property block_description

Gets block_description.

Summary:

The description for the new hatch block.

Remarks:

Introduced in Impact 8.0.0.74

Returns:

The value of block_description.

Return type:

block_description (str)

property block_name

Gets block_name.

Summary:

The name for the new hatch block.

Remarks:

Introduced in Impact 8.0.0.74

Returns:

The value of block_name.

Return type:

block_name (str)

property hatch_options

Gets hatch_options.

Summary:

An IHatchOptions object which specifies the settings to be used for the hatching.

Remarks:

You much set this value before using the Perform method. Introduced in Impact 8.0.0.74

Returns:

The value of hatch_options.

Return type:

hatch_options (IHatchOptions)

property shape

Gets Shape.

Summary:

An IShape object which defines the area to be hatched.

Remarks:

You much set this value before using the Perform method with the hctShape parameter. Introduced in Impact 8.0.0.74

Returns:

The value of Shape.

Return type:

shape (IShape)

create_hatch_options()
Summary:

Creates an IHatchOptions object to define the hatch settings.

Remarks:

Introduced in Impact 8.0.0.74

isNone()

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

perform(value)
Summary:

Perform the hatch operation.

Remarks:

Introduced in Impact 8.0.0.74

Returns:

Returns the reference to the new hatch block.

Parameters:

value (ipHatchCreationType) – The method to be used to generate the hatching.

Examples:

reset()
Summary:

Resets the values of the IHatcher object.

Remarks:

Useful if you want to use the same IHatcher object to hatch several areas. Introduced in Impact 8.0.0.74

Examples