Class MaterialDatabase
Material database.
public class MaterialDatabase
- Inheritance
-
MaterialDatabase
- Inherited Members
- Extension Methods
Properties
CltPanelTypes
public CltPanelTypes CltPanelTypes { get; set; }
Property Value
ConvertId
public string ConvertId { get; set; }
Property Value
Country
public string Country { get; set; }
Property Value
End
public string End { get; set; }
Property Value
EndTime
public string EndTime { get; set; }
Property Value
FilePath
public string FilePath { get; set; }
Property Value
Guid
public string Guid { get; set; }
Property Value
Materials
public Materials Materials { get; set; }
Property Value
OrthotropicPanelTypes
public OrthotropicPanelTypes OrthotropicPanelTypes { get; set; }
Property Value
ReinforcingMaterials
public Materials ReinforcingMaterials { get; set; }
Property Value
SourceSoftware
public string SourceSoftware { get; set; }
Property Value
Standard
public string Standard { get; set; }
Property Value
StartTime
public string StartTime { get; set; }
Property Value
StruxmlVersion
public string StruxmlVersion { get; set; }
Property Value
Xmlns
public string Xmlns { get; set; }
Property Value
Methods
ByType()
public (List<Material> steel, List<Material> concrete, List<Material> timber, List<Material> reinforcement, List<Material> stratum, List<Material> custom) ByType()
Returns
- (List<Material> steel, List<Material> concrete, List<Material> timber, List<Material> reinforcement, List<Material> stratum, List<Material> custom)
DefaultTimberPlateLibrary()
public static MaterialDatabase DefaultTimberPlateLibrary()
Returns
DeserializeStruxml(string)
Load a custom MaterialDatabase from a .struxml file.
public static MaterialDatabase DeserializeStruxml(string filePath)
Parameters
filePathstringFile path to .struxml file.
Returns
GetCltPanelLibrary()
public List<CltPanelLibraryType> GetCltPanelLibrary()
Returns
GetCltPanelLibraryTypeByName(string)
public CltPanelLibraryType GetCltPanelLibraryTypeByName(string panelLibraryTypeName)
Parameters
panelLibraryTypeNamestring
Returns
GetDefault(string)
Load the default MaterialDatabase for each respective country.
public static MaterialDatabase GetDefault(string countryCode = "S")
Parameters
countryCodestringNational annex of calculation code (B/COMMON/D/DK/E/EST/FIN/GB/H/LT/N/NL/PL/RO/S/TR). Note: TR (Turkish) doesn't contain the plastic material properties.
Returns
Remarks
Create
GetOrthotropicPanelLibrary()
public List<OrthotropicPanelLibraryType> GetOrthotropicPanelLibrary()
Returns
GetSoilMaterial()
public List<Material> GetSoilMaterial()
Returns
MaterialByName(string)
Get Material from MaterialDatabase by name.
public Material MaterialByName(string materialName)
Parameters
materialNamestringName of Material
Returns
MaterialNames()
Lists the names of all Materials in MaterialDatabase.
public List<string> MaterialNames()