Gets the member forces associated with this Analytical Member.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2023
Syntax
Visual Basic |
---|
Public Function GetMemberForces As IList(Of MemberForces) |
Return Value
Returns a collection of Member Forces associated with this Analytical Member. Empty collection will be returned if Analytical Member doesn't have any Member Forces.
To find out with which end member forces are associated use
[!:Autodesk::Revit::DB::Structure::MemberForces::Position]
property to obtain a position of Member Forces on element.
Remarks
Examples
CopyC#
public MemberForces GetStartMemberForces(AnalyticalMember ams)
{
MemberForces startForces = null;
if (ams != null)
{
IList<MemberForces> beamForces = ams.GetMemberForces();
foreach (MemberForces forces in beamForces)
{
if (forces.Start == true)
{
startForces = forces;
break;
}
}
}
return startForces;
}
See Also