Package empro :: Module empro :: Module material :: Class Material
[frames] | no frames]

Class Material

core.Updatable --+        
                 |        
   core.Selectable --+    
                     |    
 datasource.DataSource --+
                         |
                        Material

The class that represents a material.

Class Hierarchy for Material
Class Hierarchy for Material

constructor Material():

Instance Methods
Material
deserialize(xml)
Static method, deserialize XML representation of definition to Python object.
str
serialize()
Serialize material to XML

Inherited from datasource.DataSource: dataSet, dataSetIds, dataSets, variableIds, variables

Inherited from core.Selectable: clone, isSelected

Inherited from core.Updatable: __enter__, __exit__, hash, isValid, reasonWhyInvalid

Properties
BodyAppearanceNone appearance
The appearance of the material.
boolNone autoPriority
Determines if the primary priority should be derived from other parameters, such as the material conductor classification.
MaterialBaseNone details
The concrete details of the material's various EM properties.
PhysicalParametersNone physicalDetails
The physics (non-EM) properties.
intNone priority
Material priority.

Inherited from core.Selectable: metaData, name, notes

Method Details

deserialize(xml)

 

Static method, deserialize XML representation of definition to Python object.

Parameters:
  • xml (str) - XML representation of material.
Returns: Material