Cape Thermo Material WrapperCreate Material Method
Creates a Material Object with the same configuration as the current
Material Object.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
The interface for the Material Object.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public ICapeThermoMaterial CreateMaterial()VB
Public Function CreateMaterial As ICapeThermoMaterialReturn Value
ICapeThermoMaterialThe interface for the Material Object.
Remarks
The Material Object created does not contain any non-constant Physical
Property value but has the same configuration (Compounds and Phases) as
the current Material Object. These Physical Property values must be set
using SetSinglePhaseProp, SetTwoPhaseProp or SetOverallProp. Any attempt to
retrieve Physical Property values before they have been set will result in
an exception.
Exceptions
| ECapeNoImpl | The operation is “not” implemented even if this method can be called for reasons of compatibility with the CAPE-OPEN standards. That is to say that the operation exists but it is not supported by the current implementation. |
| ECapeFailedInitialisation | The physical resources necessary to the creation of the Material Object are out of limits. |
| ECapeOutOfResources | The operation is “not” implemented even if this method can be called for reasons of compatibility with the CAPE-OPEN standards. That is to say that the operation exists but it is not supported by the current implementation |
| ECapeNoMemory | The physical memory necessary to the creation of the Material Object is out of limit. |
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |