Пример #1
0
 /// <summary>
 /// From existing element
 /// </summary>
 /// <param name="instance"></param>
 /// <param name="isRevitOwned"></param>
 /// <returns></returns>
 internal static FillPatternElement FromExisting(Autodesk.Revit.DB.FillPatternElement instance, bool isRevitOwned)
 {
     return(new FillPatternElement(instance)
     {
         IsRevitOwned = isRevitOwned
     });
 }
Пример #2
0
 /// <summary>
 /// Init FillPatternElement from existing
 /// </summary>
 /// <param name="e"></param>
 private void InitElement(Autodesk.Revit.DB.FillPatternElement e)
 {
     InternalSetElement(e);
 }
Пример #3
0
 /// <summary>
 /// FillPatternElement from existing
 /// </summary>
 /// <param name="e"></param>
 private FillPatternElement(Autodesk.Revit.DB.FillPatternElement e)
 {
     SafeInit(() => InitElement(e));
 }
Пример #4
0
 /// <summary>
 /// Set the internal Element, ElementId, and UniqueId
 /// </summary>
 /// <param name="e"></param>
 private void InternalSetElement(Autodesk.Revit.DB.FillPatternElement e)
 {
     InternalRevitElement = e;
     InternalElementId    = e.Id;
     InternalUniqueId     = e.UniqueId;
 }