Library | Module

Interface IpfcMaterial



Description

This class provides information about a material.
Direct Parent Classes:
IpfcParameterOwner, IpfcChild



Property Summary

PropertyBendTableas String
The bend table
PropertyConditionas String
The condition
PropertyCrossHatchFileas String [optional]
The name of the cross-hatching file used in detailing for this material.
PropertyDescriptionas String [optional]
The material description string.
PropertyEmissivityas Double
The emissivity
PropertyFailureCriterionas String [optional]
The failure criterion.
PropertyFatigueMaterialFinishas String [optional]
The fatigue material finish.
PropertyFatigueMaterialTypeas String [optional]
The fatigue material type.
PropertyFatigueTypeas String [optional]
The fatigue type.
PropertyFluidMaterialTypeas IpfcMaterialType
The material type for the fluid properties.
PropertyHardnessas Double
The hardness
PropertyHardnessTypeas String [optional]
The hardness type.
PropertyIdas Long
The id of the material
PropertyInitBendYFactoras Double
The initial bend Y-factor
PropertyMassDensityas Double
The mass density
PropertyMaterialModelas String [optional]
The type of hyperelastic material model.
PropertyModelDefByTestsas Boolean [optional]
Specifies whether the selected hyperelastic material model is defined using test data.
PropertyNameas String
The name of the material
PropertyPermittedFailureCriteriaas Istringseq
A list of the permitted string values for the material failure criterion.
PropertyPermittedFatigueMaterialFinishesas Istringseq
A list of the permitted string values for the material fatigue material finish.
PropertyPermittedFatigueMaterialTypesas Istringseq
A list of the permitted string values for the material fatigue material type.
PropertyPermittedFatigueTypesas Istringseq
A list of the permitted string values for the material fatigue type.
PropertyPermittedMaterialModelsas Istringseq
A list of the permitted string values for the material model.
PropertyPermittedSubTypesas Istringseq
A list of the permitted string values for the material sub type.
PropertyPoissonRatioas Double
The isotropic Poisson's ratio
PropertyShearModulusas Double
The isotropic shear modulus
PropertySpecificHeatas Double
The specific heat
PropertyStressLimCompressas Double
The isotropic compression ultimate stress.
PropertyStressLimShearas Double
The shear ultimate stress.
PropertyStressLimTensionas Double
The isotropic tensile ultimate stress.
PropertyStructDampCoefas Double
The structural damping coefficient
PropertyStructuralMaterialTypeas IpfcMaterialType
The material type for the structural properties.
PropertySubTypeas String [optional]
The isotropic material type's sub type.
PropertyThermalMaterialTypeas IpfcMaterialType
The material type for the thermal properties.
PropertyThermConductivityas Double
The isotropic thermal conductivity
PropertyThermExpCoefas Double
The isotropic thermal expansion coefficient
PropertyThermExpRefTempas Double
The thermal expansion reference temperature
PropertyYoungModulusas Double
The isotropic Young's modulus



Method Summary

SubDelete ()
Deletes the material from the part's database.
FunctionGetPropertyValue (Type as IpfcMaterialPropertyType) as IpfcMaterialProperty [optional]
Returns the value and units for a material property.
SubRemoveProperty (Type as IpfcMaterialPropertyType)
Removes a material property.
SubSave (FileName as String)
Writes the specified part material to a file.
SubSetCurrent ()
Sets the current material to its owner part.
SubSetPropertyUnits (Type as IpfcMaterialPropertyType, Units as String, Convert as Boolean [optional])
Sets the units for a material property.
SubSetPropertyValue (Type as IpfcMaterialPropertyType, Value as IpfcMaterialProperty)
Sets the value and units for a material property.



Property Detail


PropertyBendTableas String

The bend table

If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.




PropertyConditionas String

The condition

If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.




PropertyCrossHatchFileas String [optional]

The name of the cross-hatching file used in detailing for this material.




PropertyDescriptionas String [optional]

The material description string.




PropertyEmissivityas Double

The emissivity

If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.




PropertyFailureCriterionas String [optional]

The failure criterion.

Must be one of the members of IpfcMaterial.PermittedFailureCriteria




PropertyFatigueMaterialFinishas String [optional]

The fatigue material finish.

Must be one of the members of IpfcMaterial.PermittedFatigueMaterialFinishes




PropertyFatigueMaterialTypeas String [optional]

The fatigue material type.

Must be one of the members of IpfcMaterial.PermittedFatigueMaterialTypes




PropertyFatigueTypeas String [optional]

The fatigue type.

Must be one of the members of IpfcMaterial.PermittedFatigueTypes




PropertyFluidMaterialTypeas IpfcMaterialType

The material type for the fluid properties.




PropertyHardnessas Double

The hardness

If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.




PropertyHardnessTypeas String [optional]

The hardness type.




PropertyIdas Long

The id of the material




PropertyInitBendYFactoras Double

The initial bend Y-factor

If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.




PropertyMassDensityas Double

The mass density

This accesses the property value in the units of the model that owns this material. To access the value using its assigned units as you would find in the user interface, use IpfcMaterial.GetPropertyValue() and IpfcMaterial.SetPropertyValue().




PropertyMaterialModelas String [optional]

The type of hyperelastic material model.

Must be one of the members of IpfcMaterial.PermittedMaterialModels




PropertyModelDefByTestsas Boolean [optional]

Specifies whether the selected hyperelastic material model is defined using test data.




PropertyNameas String

The name of the material




PropertyPermittedFailureCriteriaas Istringseq

A list of the permitted string values for the material failure criterion.




PropertyPermittedFatigueMaterialFinishesas Istringseq

A list of the permitted string values for the material fatigue material finish.




PropertyPermittedFatigueMaterialTypesas Istringseq

A list of the permitted string values for the material fatigue material type.




PropertyPermittedFatigueTypesas Istringseq

A list of the permitted string values for the material fatigue type.




PropertyPermittedMaterialModelsas Istringseq

A list of the permitted string values for the material model.




PropertyPermittedSubTypesas Istringseq

A list of the permitted string values for the material sub type.




PropertyPoissonRatioas Double

The isotropic Poisson's ratio

If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.




PropertyShearModulusas Double

The isotropic shear modulus






PropertySpecificHeatas Double

The specific heat






PropertyStressLimCompressas Double

The isotropic compression ultimate stress.

  • This accesses the property value in the units of the model that owns this material. To access the value using its assigned units as you would find in the user interface, use IpfcMaterial.GetPropertyValue() and IpfcMaterial.SetPropertyValue().
  • If this property is not set on the material, an attempt to retrieve it will throw a IpfcXToolkitNotFound exception.
  • Compression stress values must be negative.
  • If the current material failure criterion doesn't accept this type, an attempt to set it will throw a IpfcXToolkitBadContext exception.





PropertyStressLimShearas Double

The shear ultimate stress.






PropertyStressLimTensionas Double

The isotropic tensile ultimate stress.






PropertyStructDampCoefas Double

The structural damping coefficient






PropertyStructuralMaterialTypeas IpfcMaterialType

The material type for the structural properties.




PropertySubTypeas String [optional]

The isotropic material type's sub type.

Must be one of the members of IpfcMaterial.PermittedSubTypes




PropertyThermalMaterialTypeas IpfcMaterialType

The material type for the thermal properties.




PropertyThermConductivityas Double

The isotropic thermal conductivity






PropertyThermExpCoefas Double

The isotropic thermal expansion coefficient






PropertyThermExpRefTempas Double

The thermal expansion reference temperature






PropertyYoungModulusas Double

The isotropic Young's modulus







Method Detail


SubDelete ()

Deletes the material from the part's database.



FunctionGetPropertyValue (Type as IpfcMaterialPropertyType) as IpfcMaterialProperty [optional]

Returns the value and units for a material property.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - This means either:

  • The material property unit type was not recognized, OR
  • The material does not have this property assigned.


Parameters:
Type
The type of property to retrieve.
Returns:
The value and units, or null, if the property is not set on the material.



SubRemoveProperty (Type as IpfcMaterialPropertyType)

Removes a material property.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - This property does not exist on the material.

IpfcXToolkitBadContext - This property cannot be deleted on the material (because other properties assigned to the material already do not permit it).


Parameters:
Type
The type of property to remove.



SubSave (FileName as String)

Writes the specified part material to a file.

Exceptions thrown (but not limited to):

IpfcXToolkitBadContext - The function is not available in Design Test Mode.


Parameters:
FileName
The name of the output material file



SubSetCurrent ()

Sets the current material to its owner part.



SubSetPropertyUnits (Type as IpfcMaterialPropertyType, Units as String, Convert as Boolean [optional])

Sets the units for a material property.

Exceptions thrown (but not limited to):

IpfcXToolkitBadContext - This property cannot be created on the material (because other properties assigned to the material already do not permit it).

IpfcXToolkitNotValid - The new value for the property lies outside the permitted ranges for the property.

IpfcXToolkitInvalidType - The new units for the property are not correct for this property type.

IpfcXToolkitCantModify - Cannot change the value of the property because it is driven by a parameter, relation or function.


Parameters:
Type
The type of property to set.
Units
The units to use for the property.
Convert
true to convert the property value to the new units. false or null to interpret the current value in the new units.



SubSetPropertyValue (Type as IpfcMaterialPropertyType, Value as IpfcMaterialProperty)

Sets the value and units for a material property.

If the property doesn't exist on the material, this method creates it.

Exceptions thrown (but not limited to):

IpfcXToolkitBadContext - This property cannot be created on the material (because other properties assigned to the material already do not permit it).

IpfcXToolkitNotValid - The new value for the property lies outside the permitted ranges for the property.

IpfcXToolkitInvalidType - The new units for the property are not correct for this property type.

IpfcXToolkitCantModify - Cannot change the value of the property because it is driven by a parameter, relation or function.


See Also:
IpfcMaterialProperty.Create()
Parameters:
Type
The type of property to set.
Value
The value and units to use for the property