Revit 2020 API |
Application..::..NewFamilySymbolProfile Method |
Application Class See Also |
Creates a new FamilySymbolProfile object.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Syntax
C# |
---|
public FamilySymbolProfile NewFamilySymbolProfile( FamilySymbol familySymbol ) |
Visual Basic |
---|
Public Function NewFamilySymbolProfile ( _ familySymbol As FamilySymbol _ ) As FamilySymbolProfile |
Visual C++ |
---|
public: FamilySymbolProfile^ NewFamilySymbolProfile( FamilySymbol^ familySymbol ) |
Parameters
- familySymbol
- Type: Autodesk.Revit.DB..::..FamilySymbol
The family symbol of the Profile.
Return Value
The new FamilySymbolProfile object.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | Thrown when the argument familySymbol is nullNothingnullptra null reference (Nothing in Visual Basic). |