internal IfcElementAssemblyType(DatabaseIfc db, IfcElementAssemblyType t) : base(db, t) { mPredefinedType = t.mPredefinedType; } public IfcElementAssemblyType(DatabaseIfc m, string name, IfcElementAssemblyTypeEnum type) : base(m) { Name = name; mPredefinedType = type; if (m.mRelease == ReleaseVersion.IFC2x3) throw new Exception(KeyWord + " only supported in IFC4!"); }