ISmoothOptions¶
- class ISmoothOptions¶
Bases:
ImpactCOMWrapperBase- Summary:
Defines the options required when using the IActiveBlock.smooth method.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property gap_tolerance¶
Gets gap_tolerance.
- Summary:
Gets and sets the gap tolerance.
- Returns:
The value of gap_tolerance.
- Return type:
gap_tolerance (float)
- property leave_original¶
Gets leave_original.
- Summary:
Gets and sets if the original entities remain after the smooth operation.
- Returns:
The value of leave_original.
- Return type:
leave_original (bool)
- property max_angle¶
Gets max_angle.
- Summary:
Gets and sets the maximum angle.
- Returns:
The value of max_angle.
- Return type:
max_angle (float)
- property max_deviation¶
Gets max_deviation.
- Summary:
Gets and sets the maximum deviation.
- Returns:
The value of max_deviation.
- Return type:
max_deviation (float)
- property mode¶
Gets Mode.
- Summary:
Gets and sets the mode.
- Returns:
The value of Mode.
- Return type:
- property palette¶
Gets Palette.
- Summary:
Gets and sets the palette.
- Remarks:
If a palette is not specified the active palette of the active layer is used.
- property retain_bridge_positions¶
Gets retain_bridge_positions.
- Summary:
Gets and sets if bridge positions are retained after the smooth operation.
- Returns:
The value of retain_bridge_positions.
- Return type:
retain_bridge_positions (bool)
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.
Examples