Code Monkey home page Code Monkey logo

Comments (6)

hlg avatar hlg commented on June 24, 2024

Can you share a (perhaps minimal) IFC sample with the properties that are missing such that we can reproduce it in BIMvie.ws? Also: where are the properties missing - when browsing in BIMvie.ws, when downloading via query, in the properties tab or somewhere else?

from bimserver.

Chris-12 avatar Chris-12 commented on June 24, 2024

Yes it can be viewed, but the model is private. I sent you a mail for you to download the model from our private storage.
The missing properties are in the property panel of BIMvie.ws via query and also after downloading the model with the API.

from bimserver.

hlg avatar hlg commented on June 24, 2024

Did you send the download link to [email protected]?

from bimserver.

Chris-12 avatar Chris-12 commented on June 24, 2024

Right, I did not use the correct address . Now I did.

from bimserver.

hlg avatar hlg commented on June 24, 2024

Thank you for the file. I don't see any properties missing. The following query retreives all property sets including their properties as well as the objects and type objects they are assigned to and in case of type objects also the related type instances. It should include the property sets you mentioned above.

{ "type": "IfcPropertySet",
  "include": {
    "type": "IfcPropertySet",
    "fields": ["HasProperties", "DefinesOccurrence", "DefinesType"],
    "include": {
      "type": {"name": "IfcTypeObject", "includeAllSubTypes": true},
	  "field": "Types",
	  "include": {
	    "type": "IfcRelDefinesByType",
	    "field": "RelatedObjects"
      }
    }
  }
}

When downloading the whole revision, for example as IFC again, you should also get all the property sets.

The above query works from the property set to the assigned object. But likewise you can go the other way round: For a given object or product you should be able to retrieve all assigned property sets (IfcObject.IsDefinedBy, IfcRelDefinesByProperties.RelatingPropertyDefinition). Note that some property sets are not assigned directly to the objects, but to their type objects. Thus you have to navigate to the type object (IfcObject.IsTypedBy, IfcRelDefinesByType.RelatingType) before retrieving the property sets using an attribute chain similar to the one for IfcObject.

Property sets assigned to type objects may also be the reason that some properties do not appear very obviously in BIMvie.ws. Other applications may handle this differently, but in BIMvie.ws' property panel you see only direct properties of selected objects. However, you can easly modify this or access the type objects' property sets in your own application or client. In BIMvie.ws, you can also use the "Browse" tab to navigate all entities in a project and assure yourself that all the properties are actually there.

Hope that helps.

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.