GetLoadForceVectorReprLine Method


Returns the representative line of the load force vector according to loads display scaling.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2024

Syntax

C#
public XYZ GetLoadForceVectorReprLine(
	LoadType loadType,
	XYZ forceVector
)
Visual Basic
Public Function GetLoadForceVectorReprLine ( _
	loadType As LoadType, _
	forceVector As XYZ _
) As XYZ
Visual C++
public:
XYZ^ GetLoadForceVectorReprLine(
	LoadType loadType, 
	XYZ^ forceVector
)

Parameters

loadType
Type: Autodesk.Revit.DB.StructureLoadType
LoadType::Point, Line, or Area
forceVector
Type: Autodesk.Revit.DBXYZ
The load force vector in internal units.

Return Value

The the representative line in internal units.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →