Provides access to the Autodesk::Revit::DB::ElementId^ stored in the given family parameter.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementId AsElementId(
FamilyParameter familyParameter
)
Parameters
- familyParameter FamilyParameter
-
Return Value
ElementIdThe Autodesk::Revit::DB::ElementId^ contained in the parameter.Returns an invalid element id
if the storage type of the input argument is Autodesk::Revit::DB::ElementId^ type or this parameter has no value.
Exceptions
See Also
Reference