/// <summary>
        /// Removes the shape.
        /// </summary>
        /// <param name="element_id">The element id of the shape</param>
        public void RemoveDirectShape(ElementId element_id)
        {
            if (m_direct_shape_list.Any(x => x.ElementId == element_id) == false)
            {
                return;
            }

            DirectShapeBase ds = m_direct_shape_list.Find(x => x.ElementId == element_id);

            m_direct_shape_list.Remove(ds);
            ds.Delete();
        }
        /// <summary>
        /// Removes the shape.
        /// </summary>
        /// <param name="name">The name of the shape</param>
        public void RemoveDirectShape(string name)
        {
            if (m_direct_shape_list.Any(x => x.Name == name) == false)
            {
                return;
            }

            DirectShapeBase ds = m_direct_shape_list.Find(x => x.Name == name);

            m_direct_shape_list.Remove(ds);
            ds.Delete();
        }