ICommonKnifeOptions

class ICommonKnifeOptions

Bases: ImpactCOMWrapperBase

Description:

Defines the options required for creating a ‘common knife block’.

Remarks:

Note that setting both remove_overlap and merge_end_to_end to true might not give the result you expect, because after the lines are split up they are then merged back together.

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

property bridge_mode

Gets bridge_mode.

Description:

Specifies how bridges should be treated.

Returns:

The value of bridge_mode.

Return type:

bridge_mode (ipBridgeMode)

property cut_palettes

Gets cut_palettes.

Description:

Gets and sets the cut palette settings to use in the common knife operation.

Returns:

The value of cut_palettes.

Return type:

cut_palettes (IMasterSetting)

property merge_end_to_end

Gets merge_end_to_end.

Description:

If merge_end_to_end is true then entities which run in the same direction and share an end point, but do not overlap will be joined together.

Remarks:

Note that setting both remove_overlap and merge_end_to_end to true might not give the result you expect, because after the lines are split up they are then merged back together.

Returns:

The value of merge_end_to_end.

Return type:

merge_end_to_end (bool)

property remove_overlap

Gets remove_overlap.

Description:

If remove_overlap is true the overlapping section of coincident lines will be replaced with a single line, if false both the overlapping entities will be replaced with a single entity.

Remarks:

Note that setting both remove_overlap and merge_end_to_end to true might not give the result you expect, because after the lines are split up they are then merged back together.

Returns:

The value of remove_overlap.

Return type:

remove_overlap (bool)

property same_block

Gets same_block.

Description:

If same_block is true only the top most block will be checked for overlapping entities otherwise sub blocks will be checked.

Returns:

The value of same_block.

Return type:

same_block (bool)