SaveErrorLog() 공개 메소드

public SaveErrorLog ( ) : void
리턴 void
예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="category"></param>
        public void Import(Category category)
        {
            ElementSet elemSet = Utils.Selection.FilterToCategory((BuiltInCategory)category.Id.IntegerValue, false, m_activeDoc);

            foreach (Element elem in elemSet)
            {
                Update(elem);
            }
            m_errorLogger.SaveErrorLog();
        }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="category"></param>
        public void Import(Category category)
        {
            //ElementSet elemSet = Utils.Selection.FilterToCategory( (BuiltInCategory) category.Id.IntegerValue, false, m_activeDoc );

            ICollection <ElementId> ids = Utils.Selection.FilterToCategory((BuiltInCategory)category.Id.IntegerValue, false, m_activeDoc);

            foreach (ElementId id in ids)
            {
                Element elem = m_activeDoc.GetElement(id);
                Update(elem);
            }
            m_errorLogger.SaveErrorLog();
        }