예제 #1
0
        protected IfcBeamType GetParametericIPE200(STPModelData md)
        {
            IfcMaterialProfile materialProfile = GetParametericIPE200Profile(md);
            IfcBeamType        beamType        = new IfcBeamType(md, new IfcElemTypeParams("32b2OtzCP30umNyY5LsCfN", materialProfile.Name, "", "", ""), materialProfile, null, IfcBeamTypeEnum.JOIST);

            beamType.ObjectTypeOf.GlobalId        = "3s_DqAVvb3LguudTShJHVo";
            beamType.Material.Associates.GlobalId = "0NkGSIHVT3SeAR6bnw7pSa";
            return(beamType);
        }
예제 #2
0
        protected IfcBeamType GetParametericIPE200(DatabaseIfc database)
        {
            IfcMaterialProfile materialProfile = GetParametericIPE200Profile(database);
            IfcBeamType        beamType        = new IfcBeamType(materialProfile.Name, materialProfile, IfcBeamTypeEnum.JOIST)
            {
                GlobalId = "32b2OtzCP30umNyY5LsCfN"
            };

            database.Context.AddDeclared(beamType);

            //Unique ids assigned to generate constant IfcScript  sample files, remove otherwise
            beamType.ObjectTypeOf.GlobalId = "3s_DqAVvb3LguudTShJHVo";
            beamType.MaterialSelect.Associates.GlobalId = "0NkGSIHVT3SeAR6bnw7pSa";

            return(beamType);
        }