Exemplo n.º 1
0
        protected IfcMaterialProfile GetParametericIPE200Profile(STPModelData md)
        {
            IfcMaterial material = new IfcMaterial(md, "S355JR", "", "Steel");

            material.Associates.GlobalId = "1oJeVe14nCYf5cL0Mka0KL";
            string name = "IPE200";
            IfcIShapeProfileDef ipe200 = new IfcIShapeProfileDef(md, name, 200, 100, 5.6, 8.5, 12);

            return(new IfcMaterialProfile(md, name, "", material, ipe200, 0, ""));
        }
Exemplo n.º 2
0
        protected IfcMaterialProfile GetParametericIPE200Profile(DatabaseIfc database)
        {
            IfcMaterial material = new IfcMaterial(database, "S355JR")
            {
                Category = "Steel"
            };

            //Unique ids assigned to generate constant IfcScript  sample files, remove otherwise
            material.Associates.GlobalId = "1oJeVe14nCYf5cL0Mka0KL";

            string name = "IPE200";
            IfcIShapeProfileDef ipe200 = new IfcIShapeProfileDef(database, name, 200, 100, 5.6, 8.5, 12);

            return(new IfcMaterialProfile(name, material, ipe200));
        }