Пример #1
0
        public static IStepFileHeader ReadHeader(Stream input)
        {
            var xReader   = new XbimXmlReader4();
            var fakeModel = new Memory.MemoryModel(new Ifc4.EntityFactoryIfc4());

            return(xReader.Read(input, fakeModel, true)); //using a dummy model to get the assembly correct
        }
Пример #2
0
        public static IStepFileHeader ReadHeader(Stream input)
        {
            var xReader = new XbimXmlReader4();

            return(xReader.Read(input, true));
        }