From 0beec1a5038f76607cbd530eb37586444fe26098 Mon Sep 17 00:00:00 2001 From: "PASUPALA Surya Teja (Surya)" Date: Wed, 8 Apr 2026 16:28:12 +0530 Subject: [PATCH] feature/IfcCartesianPointList3DTagListError made a change to remove the taglist variable --- .../IfcCartesianPointList3D.cs | 20 ++----------------- .../IFC4/IfcCartesianPointList3D.cs | 12 ----------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/Xbim.Ifc4/GeometricModelResource/IfcCartesianPointList3D.cs b/Xbim.Ifc4/GeometricModelResource/IfcCartesianPointList3D.cs index bba68ba75..639e08e4b 100644 --- a/Xbim.Ifc4/GeometricModelResource/IfcCartesianPointList3D.cs +++ b/Xbim.Ifc4/GeometricModelResource/IfcCartesianPointList3D.cs @@ -27,7 +27,6 @@ namespace Xbim.Ifc4.Interfaces public partial interface @IIfcCartesianPointList3D : IIfcCartesianPointList { IItemSet> @CoordList { get; } - IItemSet @TagList { get; } } } @@ -41,22 +40,17 @@ public partial class @IfcCartesianPointList3D : IfcCartesianPointList, IInstant #region IIfcCartesianPointList3D explicit implementation IItemSet> IIfcCartesianPointList3D.CoordList { get { return @CoordList; } - } - IItemSet IIfcCartesianPointList3D.TagList { - get { return @TagList; } - } + } #endregion //internal constructor makes sure that objects are not created outside of the model/ assembly controlled area internal IfcCartesianPointList3D(IModel model, int label, bool activated) : base(model, label, activated) { _coordList = new ItemSet>( this, 0, 1); - _tagList = new OptionalItemSet( this, 0, 2); } #region Explicit attribute fields private readonly ItemSet> _coordList; - private readonly OptionalItemSet _tagList; #endregion #region Explicit attribute properties @@ -70,16 +64,6 @@ public IItemSet> @CoordList return _coordList; } } - [EntityAttribute(2, EntityAttributeState.Optional, EntityAttributeType.List, EntityAttributeType.None, new int [] { 1 }, new int [] { -1 }, 4)] - public IOptionalItemSet @TagList - { - get - { - if(_activated) return _tagList; - Activate(); - return _tagList; - } - } #endregion @@ -96,7 +80,7 @@ public override void Parse(int propIndex, IPropertyValue value, int[] nestedInde .InternalAdd((IfcLengthMeasure)(value.RealVal)); return; case 1: - _tagList.InternalAdd(value.StringVal); + //_tagList.InternalAdd(value.StringVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); diff --git a/Xbim.Ifc4x3/Interfaces/IFC4/IfcCartesianPointList3D.cs b/Xbim.Ifc4x3/Interfaces/IFC4/IfcCartesianPointList3D.cs index 1c2ca6a41..12e40e2e4 100644 --- a/Xbim.Ifc4x3/Interfaces/IFC4/IfcCartesianPointList3D.cs +++ b/Xbim.Ifc4x3/Interfaces/IFC4/IfcCartesianPointList3D.cs @@ -31,18 +31,6 @@ public partial class @IfcCartesianPointList3D : IIfcCartesianPointList3D t => new MeasureResource.IfcLengthMeasure(t)); } } - - [CrossSchemaAttribute(typeof(IIfcCartesianPointList3D), 2)] - IItemSet IIfcCartesianPointList3D.TagList - { - get - { - - return new Common.Collections.ProxyValueSet(TagList, - s => new Ifc4.MeasureResource.IfcLabel(s), - t => new MeasureResource.IfcLabel(t)); - } - } //## Custom code //## }