/// <summary>
 /// Create from existing
 /// </summary>
 /// <param name="rvtPathOfTravel">Existing Revit PathOfTravel element</param>
 /// <param name="isRevitOwned"></param>
 /// <returns></returns>
 internal static PathOfTravel FromExisting(RvtAnalysis.PathOfTravel rvtPathOfTravel, bool isRevitOwned)
 {
     return(new PathOfTravel(rvtPathOfTravel)
     {
         IsRevitOwned = isRevitOwned
     });
 }
        /// <summary>
        /// Initialize a Path of Travel element from existing Revit element
        /// </summary>
        private void InitPathOfTravel(RvtAnalysis.PathOfTravel rvtPathOfTravel)
        {
            m_rvtPathOfTravel = rvtPathOfTravel;

            if (m_rvtPathOfTravel != null)
            {
                this.InternalElementId = m_rvtPathOfTravel.Id;
                this.InternalUniqueId  = m_rvtPathOfTravel.UniqueId;
            }
        }
 /// <summary>
 /// PathOfTravel from existing
 /// </summary>
 /// <param name="rvtPathOfTravel">Revit PathOfTavel element</param>
 private PathOfTravel(RvtAnalysis.PathOfTravel rvtPathOfTravel)
 {
     SafeInit(() => InitPathOfTravel(rvtPathOfTravel));
 }