GetPlacementTypes Method


Get a collection of valid placement types for input family symbol.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

Syntax

C#
public IList<FaceBasedPlacementType> GetPlacementTypes(
	FamilySymbol familySymbol,
	View pDBView
)
Visual Basic
Public Function GetPlacementTypes ( _
	familySymbol As FamilySymbol, _
	pDBView As View _
) As IList(Of FaceBasedPlacementType)
Visual C++
public:
IList<FaceBasedPlacementType>^ GetPlacementTypes(
	FamilySymbol^ familySymbol, 
	View^ pDBView
)

Parameters

familySymbol
Type: Autodesk.Revit.DBFamilySymbol
The family symbol.
pDBView
Type: Autodesk.Revit.DBView
The view in which the family instance will be placed in.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

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 →