コード例 #1
0
 public IfcMaterialProfile(IfcLabel name, IfcText description, IfcMaterial material, IfcProfileDef profile, IfcInteger priority, IfcLabel category) : base()
 {
     Name        = name;
     Description = description;
     Material    = material;
     Profile     = profile;
     Priority    = priority;
     Category    = category;
 }
コード例 #2
0
ファイル: IFCExampleBase.cs プロジェクト: mccune/IfcScript
        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, ""));
        }
コード例 #3
0
ファイル: IfcMaterialLayer.g.cs プロジェクト: vdubya/IFC-gen
 public IfcMaterialLayer(IfcMaterial material, IfcNonNegativeLengthMeasure layerThickness, IfcLogical isVentilated, IfcLabel name, IfcText description, IfcLabel category, IfcInteger priority) : base()
 {
     Material       = material;
     LayerThickness = layerThickness;
     IsVentilated   = isVentilated;
     Name           = name;
     Description    = description;
     Category       = category;
     Priority       = priority;
 }
コード例 #4
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));
        }
コード例 #5
0
 public IfcMaterialClassificationRelationship(List <IfcClassificationSelect> materialClassifications, IfcMaterial classifiedMaterial) : base()
 {
     MaterialClassifications = materialClassifications;
     ClassifiedMaterial      = classifiedMaterial;
 }
コード例 #6
0
 public IfcMaterialProfileWithOffsets(IfcLabel name, IfcText description, IfcMaterial material, IfcProfileDef profile, IfcInteger priority, IfcLabel category, List <IfcLengthMeasure> offsetValues) : base(name, description, material, profile, priority, category)
 {
     OffsetValues = offsetValues;
 }
コード例 #7
0
        }                                                                           // inverse


        /// <summary>
        /// Construct a IfcMaterialConstituent with all required attributes.
        /// </summary>
        public IfcMaterialConstituent(IfcMaterial material) : base()
        {
            Material = material;
        }
コード例 #8
0
 public IfcMaterialRelationship(IfcLabel name, IfcText description, IfcMaterial relatingMaterial, List <IfcMaterial> relatedMaterials, IfcLabel expression) : base(name, description)
 {
     RelatingMaterial = relatingMaterial;
     RelatedMaterials = relatedMaterials;
     Expression       = expression;
 }
コード例 #9
0
        }                                            // optional


        /// <summary>
        /// Construct a IfcMaterialRelationship with all required attributes.
        /// </summary>
        public IfcMaterialRelationship(IfcMaterial relatingMaterial, List <IfcMaterial> relatedMaterials) : base()
        {
            RelatingMaterial = relatingMaterial;
            RelatedMaterials = relatedMaterials;
        }
コード例 #10
0
 public IfcMaterialLayerWithOffsets(IfcMaterial material, IfcNonNegativeLengthMeasure layerThickness, IfcLogical isVentilated, IfcLabel name, IfcText description, IfcLabel category, IfcInteger priority, IfcLayerSetDirectionEnum offsetDirection, List <IfcLengthMeasure> offsetValues) : base(material, layerThickness, isVentilated, name, description, category, priority)
 {
     OffsetDirection = offsetDirection;
     OffsetValues    = offsetValues;
 }
コード例 #11
0
 public IfcMaterialDefinitionRepresentation(IfcLabel name, IfcText description, List <IfcRepresentation> representations, IfcMaterial representedMaterial) : base(name, description, representations)
 {
     RepresentedMaterial = representedMaterial;
 }
コード例 #12
0
 /// <summary>
 /// Construct a IfcMaterialDefinitionRepresentation with all required attributes.
 /// </summary>
 public IfcMaterialDefinitionRepresentation(List <IfcRepresentation> representations, IfcMaterial representedMaterial) : base(representations)
 {
     RepresentedMaterial = representedMaterial;
 }