ICaseCompressionPlugin¶
- class ICaseCompressionPlugin¶
Bases:
ImpactCOMWrapperBase- Description:
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)¶
- Description:
This method is called once, before one or more calls to compute_bct.
- Parameters:
variables (IVariables) – List of fixed variables.
- begin_ect(variables, advanced)¶
- Description:
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)¶
- Description:
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)¶
- Description:
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()¶
- Description:
This method is called once, after one or more calls to compute_bct.
- end_ect()¶
- Description:
This method is called once, after one or more calls to compute_ect.
- finished()¶
- Description:
This method is called when the Case Compression dialog is closing and no longer requires the case compression formula.