civpy.structures.CrossSection.from_aisc¶
-
classmethod
CrossSection.
from_aisc
(name, metric=False, version=None, include_meta=True)[source]¶ Initializes a cross section from the properties in the AISC database.
Parameters: - name : str
The name of the member.
- metric : bool
If True, searches for the name in the metric shape database. Otherwise, searches for the name in the imperial shape database.
- version : str
The version of the shape database to query. If None, the latest version will be used.
- include_meta : bool
If True, secondary properties in the database will be written to the object meta dictionary. Otherwise, no values will be written to the meta dictionary. This saves memory if data from the meta dictionary is not needed.
Examples
>>> CrossSection.from_aisc('L8x8x1-1/8') CrossSection(name='L8X8X1-1/8', area=16.8, unit_weight=56.9, ...)