예제 #1
0
        public static List <dynElem> ModifyElements(SerialListElement ListJSON, revitDoc doc)
        {
            List <dynElem> elems = new List <dynElem>();

            foreach (SerialElement e in ListJSON.Elements)
            {
                elems.Add(SerialElement.ModifyElement(e, doc));
            }

            return(elems);
        }
예제 #2
0
 public static string ToJSON(SerialListElement ListJSON)
 {
     return(Newtonsoft.Json.JsonConvert.SerializeObject(ListJSON, Formatting.Indented));
 }