public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 6:
                _relatingProduct = (IfcProductSelect)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
예제 #2
0
파일: IFC R.cs 프로젝트: jenca-cloud/ggIFC
		public IfcRelAssignsToProduct(List<IfcObjectDefinition> relObjects, IfcProductSelect relProduct)
			: base(relObjects) { mRelatingProduct = relProduct.Index; relProduct.ReferencedBy.Add(this); }
예제 #3
0
파일: IFC R.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcRelAssignsToProduct(IfcProductSelect relProduct)
			: base(relProduct.Database) { mRelatingProduct = relProduct.Index; relProduct.ReferencedBy.Add(this); ; }
예제 #4
0
 public IfcRelAssignsToProduct(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcObjectDefinition[] __RelatedObjects, IfcObjectTypeEnum?__RelatedObjectsType, IfcProductSelect __RelatingProduct)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __RelatedObjects, __RelatedObjectsType)
 {
     this._RelatingProduct = __RelatingProduct;
 }