Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions Xbim.Ifc4/GeometricModelResource/IfcCartesianPointList3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ namespace Xbim.Ifc4.Interfaces
public partial interface @IIfcCartesianPointList3D : IIfcCartesianPointList
{
IItemSet<IItemSet<IfcLengthMeasure>> @CoordList { get; }
IItemSet<IfcLabel> @TagList { get; }

}
}
Expand All @@ -41,22 +40,17 @@ public partial class @IfcCartesianPointList3D : IfcCartesianPointList, IInstant
#region IIfcCartesianPointList3D explicit implementation
IItemSet<IItemSet<IfcLengthMeasure>> IIfcCartesianPointList3D.CoordList {
get { return @CoordList; }
}
IItemSet<IfcLabel> 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<IItemSet<IfcLengthMeasure>>( this, 0, 1);
_tagList = new OptionalItemSet<IfcLabel>( this, 0, 2);
}

#region Explicit attribute fields
private readonly ItemSet<IItemSet<IfcLengthMeasure>> _coordList;
private readonly OptionalItemSet<IfcLabel> _tagList;
#endregion

#region Explicit attribute properties
Expand All @@ -70,16 +64,6 @@ public IItemSet<IItemSet<IfcLengthMeasure>> @CoordList
return _coordList;
}
}
[EntityAttribute(2, EntityAttributeState.Optional, EntityAttributeType.List, EntityAttributeType.None, new int [] { 1 }, new int [] { -1 }, 4)]
public IOptionalItemSet<IfcLabel> @TagList
{
get
{
if(_activated) return _tagList;
Activate();
return _tagList;
}
}
#endregion


Expand All @@ -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()));
Expand Down
12 changes: 0 additions & 12 deletions Xbim.Ifc4x3/Interfaces/IFC4/IfcCartesianPointList3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ public partial class @IfcCartesianPointList3D : IIfcCartesianPointList3D
t => new MeasureResource.IfcLengthMeasure(t));
}
}

[CrossSchemaAttribute(typeof(IIfcCartesianPointList3D), 2)]
IItemSet<Xbim.Ifc4.MeasureResource.IfcLabel> IIfcCartesianPointList3D.TagList
{
get
{

return new Common.Collections.ProxyValueSet<MeasureResource.IfcLabel, Ifc4.MeasureResource.IfcLabel>(TagList,
s => new Ifc4.MeasureResource.IfcLabel(s),
t => new MeasureResource.IfcLabel(t));
}
}
//## Custom code
//##
}
Expand Down