SetAnalyticalProjectionDatumPlane Method
Sets the datum plane for a given selector and direction.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:  2012

Syntax

C#
[ObsoleteAttribute("This method is deprecated in Revit 2015. Analytical Projection has been divided into Projection and Extension. Use one of AnalyticalModelStick.SetProjectionPlaneY(), AnalyticalModelStick.SetProjectionPlaneZ() methods or AnalyticalModelColumn.BaseExtensionPlaneId, AnalyticalModelColumn.TopExtensionPlaneId, AnalyticalModelSurface.ProjectionPlaneZ, AnalyticalModelSurface.BottomExtensionPlaneId, AnalyticalModelSurface.TopExtensionPlaneId properties instead.")]
public void SetAnalyticalProjectionDatumPlane(
	AnalyticalElementSelector selector,
	AnalyticalDirection direction,
	ElementId datumPlaneId
)
Visual Basic
<ObsoleteAttribute("This method is deprecated in Revit 2015. Analytical Projection has been divided into Projection and Extension. Use one of AnalyticalModelStick.SetProjectionPlaneY(), AnalyticalModelStick.SetProjectionPlaneZ() methods or AnalyticalModelColumn.BaseExtensionPlaneId, AnalyticalModelColumn.TopExtensionPlaneId, AnalyticalModelSurface.ProjectionPlaneZ, AnalyticalModelSurface.BottomExtensionPlaneId, AnalyticalModelSurface.TopExtensionPlaneId properties instead.")> _
Public Sub SetAnalyticalProjectionDatumPlane ( _
	selector As AnalyticalElementSelector, _
	direction As AnalyticalDirection, _
	datumPlaneId As ElementId _
)
Visual C++
[ObsoleteAttribute(L"This method is deprecated in Revit 2015. Analytical Projection has been divided into Projection and Extension. Use one of AnalyticalModelStick.SetProjectionPlaneY(), AnalyticalModelStick.SetProjectionPlaneZ() methods or AnalyticalModelColumn.BaseExtensionPlaneId, AnalyticalModelColumn.TopExtensionPlaneId, AnalyticalModelSurface.ProjectionPlaneZ, AnalyticalModelSurface.BottomExtensionPlaneId, AnalyticalModelSurface.TopExtensionPlaneId properties instead.")]
public:
void SetAnalyticalProjectionDatumPlane(
	AnalyticalElementSelector selector, 
	AnalyticalDirection direction, 
	ElementId^ datumPlaneId
)

Parameters

selector
Type: Autodesk.Revit.DB.Structure..::..AnalyticalElementSelector
End of the analytical model.
direction
Type: Autodesk.Revit.DB.Structure..::..AnalyticalDirection
Direction in which analytical model may be projected.
datumPlaneId
Type: Autodesk.Revit.DB..::..ElementId
Datum Plane on to which analytical model may be projected.

Remarks

Applicable for analytical models of linear elements (beams, braces, columns). This Datum Plane identifies a Level, a Grid, or a Ref Plane.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentException direction is invalid for analytical model -or- Datum Plane is invalid projection target.
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also