ElementId.Parse
Description:
Parse the string representation of the id into a corresponding ElementId.
Parse the string representation of the id into a corresponding ElementId.
Remarks:
If the string represents [!:Autodesk::Revit::DB::Element::InvalidElementId] it will be returned.
If the string represents [!:Autodesk::Revit::DB::Element::InvalidElementId] it will be returned.
public static ElementId Parse(
string idStr
)
-
StringidStrThe string representation of the id to return.
-
Thrown when the string cannot be parsed into an ElementId.