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