GetPlacementTypes Method


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

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 17.0.0.0 (17.0.484.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.DB FamilySymbol
The family symbol.
pDBView
Type: Autodesk.Revit.DB View
The view in which the family instance will be placed in.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also