internal static DetailCurve FromExisting(Autodesk.Revit.DB.DetailCurve instance, bool isRevitOwned) { return(new DetailCurve(instance) { IsRevitOwned = isRevitOwned }); }
/// <summary> /// Initialize Detail Curve element /// </summary> /// <param name="curve"></param> private void InitElement(Autodesk.Revit.DB.DetailCurve curve) { InternalSetCurveElement(curve); }
/// <summary> /// Construct a detail curve from an existing element /// </summary> /// <param name="element">Revit element</param> private DetailCurve(Autodesk.Revit.DB.DetailCurve element) { SafeInit(() => InitElement(element)); }