Revit Preview Release API |
UIDocument..::..GetPlacementTypes Method |
UIDocument Class See Also |
Get a collection of valid placement types for input family symbol.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 19.0.0.0 (19.0.0.405)
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 |