pytabs.prop_material
1# pyTABS - ETABS .NET API python wrapper 2# PropMaterial - cPropMaterial 3__all__ = ['PropMaterial'] 4 5# import ETABS namespace and pyTABS error handler 6from pytabs.etabs_config import * 7from pytabs.error_handle import * 8 9# import custom enumerations 10 11 12# import typing 13 14 15class PropMaterial: 16 """PropMaterial interface""" 17 def __init__(self, sap_model : etabs.cSapModel) -> None: 18 # link of SapModel interface 19 self.sap_model = sap_model 20 # create PropMaterial interface 21 self.prop_material = etabs.cPropMaterial(sap_model.PropMaterial) 22 23 # relate relevant ETABS enumerations 24 self.eMatType = etabs.eMatType 25 """EtabsModel `MatType` enumeration""" 26 27 # relate custom enumerations
class
PropMaterial:
16class PropMaterial: 17 """PropMaterial interface""" 18 def __init__(self, sap_model : etabs.cSapModel) -> None: 19 # link of SapModel interface 20 self.sap_model = sap_model 21 # create PropMaterial interface 22 self.prop_material = etabs.cPropMaterial(sap_model.PropMaterial) 23 24 # relate relevant ETABS enumerations 25 self.eMatType = etabs.eMatType 26 """EtabsModel `MatType` enumeration""" 27 28 # relate custom enumerations
PropMaterial interface
PropMaterial(sap_model: ETABSv1.cSapModel)
18 def __init__(self, sap_model : etabs.cSapModel) -> None: 19 # link of SapModel interface 20 self.sap_model = sap_model 21 # create PropMaterial interface 22 self.prop_material = etabs.cPropMaterial(sap_model.PropMaterial) 23 24 # relate relevant ETABS enumerations 25 self.eMatType = etabs.eMatType 26 """EtabsModel `MatType` enumeration""" 27 28 # relate custom enumerations