API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

MaterialItem Class

The MaterialItem class contains information about the materials in the Tekla Structures catalog.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public class MaterialItem

The MaterialItem type exposes the following members.

  Name Description
Public method MaterialItem
Creates a new material item instance.
  Name Description
Public property AliasName1
The material item's alias name 1.
Public property AliasName2
The material item's alias name 2.
Public property AliasName3
The material item's alias name 3.
Public property DesignCode
The design code.
Public property MaterialName
The material item's name.
Public property ModulusOfElasticity
Thte modulus of elasticity in unit N/m2.
Public property PlateDensity
The plate density in unit kg/m3.
Public property PoissonsRatio
The poissons ratio
Public property ProfileDensity
The profile density in unit kg/m3.
Public property ThermalDilatation
The thermal dilatation in unit 1/K.
Public property Type
The material item's type.
  Name Description
Public method Delete
Delete this material from material database.
Public methodCode example Export
Exports the material item in the material database to given file name. Materials are exported to *.lis format. If path is not given material is exported to model folder. If filename is empty material name is used as filename.
Public method Insert
Inserts this material item to material database.
Public methodStatic member MaterialNameMaxLength
Returns the maximum length a material name can be.
Public method Modify
Modifies the material in material database that has the same name as this instance.
Public method Select
Selects the material item from the database based on the material name and alias name in this instance.
Public method Select(String)
Selects the material item based on the name from the material database. The material name can also be an alias name.
See Also