Пример #1
0
        public static dynamic GetTSObject(IFC2X3_ParametricObject_RectangleProfile[] dynArray)
        {
            if (dynArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <dynamic>();

            foreach (var dynItem in dynArray)
            {
                list.Add(IFC2X3_ParametricObject_RectangleProfile_.GetTSObject(dynItem));
            }
            return(list.ToArray());
        }
Пример #2
0
        public static IFC2X3_ParametricObject_RectangleProfile[] FromTSObject(dynamic[] tsArray)
        {
            if (tsArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <IFC2X3_ParametricObject_RectangleProfile>();

            foreach (var tsItem in tsArray)
            {
                list.Add(IFC2X3_ParametricObject_RectangleProfile_.FromTSObject(tsItem));
            }
            return(list.ToArray());
        }