Closed andoatir closed 3 years ago
Hello, thank you for your questions.
You don't need to use this to check if a section already exists. You can get all the sections and materials, see the answer to question 2 below. If a cross-sections is unrecognized, there are callbacks and conversion tables built into the plugin.
You can use GetCssInMPRL and GetMaterialsInMPRL commands in FEAppExample and all available cross-sections or materials will be listed. Please be aware that the list of materials is country code-dependant (there are specific materials in MPRL database for every code), while the cross-sections don’t depend on country code.
You can use the CrossSectionFactory to define cross-sections.
Apart from pre-defined composed shapes, you can create a general cross-section according to the following example: GeneralCSSExample.zip
This is obsolete for steel applications (was introduced because of concrete ). In IDEA StatiCa, the cross-section rotation is always defined by rotating the local coordinate system of Element1D.
Where possible, we deal with mirrored cross-sections through rotation. If not possible, there is the MirrorY property in BeamData class.
Offset is defined on Element1D. While it is possible to define both start and end offsets, only the start offset will be taken into account now on both sides. We will expand this to work on both ends in the future. See the example below:
<Element1D> <Id>1</Id>
<CrossSectionBegin>
<TypeName>CrossSection</TypeName>
<Id>1</Id>
</CrossSectionBegin>
<CrossSectionEnd>
<TypeName>CrossSection</TypeName>
<Id>1</Id>
</CrossSectionEnd>
<Segment>
<TypeName>LineSegment3D</TypeName>
<Id>1</Id>
</Segment>
<RotationRx>0</RotationRx>
<EccentricityBeginX>0</EccentricityBeginX>
<EccentricityBeginY>0</EccentricityBeginY>
<EccentricityBeginZ>0</EccentricityBeginZ>
<EccentricityEndX>0</EccentricityEndX>
<EccentricityEndY>0</EccentricityEndY>
<EccentricityEndZ>0</EccentricityEndZ>