public static dynamic GetTSObject(CutPlane[] dynArray) { if (dynArray is null) { return(null); } var list = new System.Collections.Generic.List <dynamic>(); foreach (var dynItem in dynArray) { list.Add(CutPlane_.GetTSObject(dynItem)); } return(list.ToArray()); }
public static CutPlane[] FromTSObject(dynamic[] tsArray) { if (tsArray is null) { return(null); } var list = new System.Collections.Generic.List <CutPlane>(); foreach (var tsItem in tsArray) { list.Add(CutPlane_.FromTSObject(tsItem)); } return(list.ToArray()); }