본문 바로가기

Revit API Study

String을 Element Id로 형변환 하는방법 (String To Element Id)

 

            string idStr = "123456" //Element ID
            int idInt = Convert.ToInt32(idStr);
            ElementId id = new ElementId(idInt);