ICaseCompressionPlugin

class ICaseCompressionPlugin

Bases: ImpactCOMWrapperBase

Summary:

ICaseCompressionPlugin interface provides the ability to create custom case-compression calculations using almost any development environment.

Remarks:

The developer creates a class that implements the ICaseCompressionPlugin interface. An example plugin is available upon request. This object is not suitable for use with VBScript. Introduced in Impact 7.0.0.55.

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

begin_bct(variables)
Summary:

This method is called once, before one or more calls to compute_bct.

Parameters:

variables (IVariables) – List of fixed variables.

begin_ect(variables, advanced)
Summary:

This method is called once, before one or more calls to compute_ect.

Parameters:
  • variables (IVariables) – List of fixed variables

  • advanced (bool) – Determines if the ECT calculations are for standard or advanced materials.

compute_bct(variables)
Summary:

This method is called to compute a single Box Compression Test (BCT) value for a specific set of variables.

Parameters:

variables (IVariables) – List of fixed variables.

compute_ect(variables)
Summary:

This method is called to compute a single Edge Crush Test (ECT) value for a specific set of variables.

Parameters:

variables (IVariables) – List of fixed variables.

end_bct()
Summary:

This method is called once, after one or more calls to compute_bct.

end_ect()
Summary:

This method is called once, after one or more calls to compute_ect.

finished()
Summary:

This method is called when the Case Compression dialog is closing and no longer requires the case compression formula.

isNone()

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