Code Monkey home page Code Monkey logo

Comments (3)

hlg avatar hlg commented on July 22, 2024

Please provide some more information on how you use BIMserver (embedded, standalone?) and how you try to access the BIMserver data ("download the IFC model"), in order to reproduce this potential issue. Also the subject line could be a bit more specific, yet less verbose.

from bimserver.

PavelWhiteTiger avatar PavelWhiteTiger commented on July 22, 2024

We fill the model using ClientIfcModel (in the client code) and in LongDownloadOrCheckoutAction we get ServerIfcModel, ifcHeader in ServerIfcModelis=null.
IfcPluginBase on BimServer when using the writeHeader method also shows that ifcHeader == null. We are using IfcStepSerializer (ifc4)

from bimserver.

hlg avatar hlg commented on July 22, 2024

I assume you use recordChanges=true and ClientIfcModel.commit(String comment) to populate the model and send it to the server? This is based on the low level interface. It seems that in this case header data is indeed not transferred to the server and currently there is no way to do so or to set it explicitly. Header data population on the server is only implemented for transfer of serialized data where the serialization includes the header data (e.g. IFC-SPF as the standard serialization). Thus, if you set header properties via ClientIfcModel.getMetaData().getIfcHeader() and then use ClientIfcModel.checkin(long poid, String comment), the header data should end up on the server in the database and subsequently in following downloads. This is because contrary to incremental model transfer with commit, checkin (with recordChanges=false) serializes the whole model and transfers it in one go. However, for this method you need IfcPlugins loaded on the client side. I will tag this issue, that is header handling for low level changes, as a feature for future improvements of the low level interface. This interface needs a serious overhaul and refactoring anyway.

from bimserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.