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); }
public static string ToJSON(SerialListElement ListJSON) { return(Newtonsoft.Json.JsonConvert.SerializeObject(ListJSON, Formatting.Indented)); }