Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prombles using BIMServer Split/decomposition Larger IFC files to each component, stored as a small IFC file. #1197

Closed
wjiarao opened this issue May 7, 2021 · 2 comments
Labels

Comments

@wjiarao
Copy link

wjiarao commented May 7, 2021

Describe the bug
Hello, this promble may not a bug I have met.
I've used BIMServer/BIMview.ws, trying to decomposition larger IFC file to each component, the IFC file I see attach file,
BimServer API is used to download an IFC file for each constituent component of the model by recursively sending queries based on oids and ifc types.
query language used in BIMServer was follows:
{
"type": {
"name": "IfcProduct",
"includeAllSubTypes": true
},
"includes":[
"validifc:ContainedInStructure",
"validifc:OwnerHistory",
"validifc:Representation",
"validifc:ObjectPlacement",
"validifc:AllProperties"
],
"oid":"Objects's oid"
}

But I can'nt get all "Objects's oid", and I'm not use java language and not know this language, when someone put similiar solves.
How can I accomplish this tasks using BIMServer? Anyone who can help me? Thanks very much.

12building_second0421.zip

@hlg hlg added the howto label May 12, 2021
@jingyangking
Copy link

Hello, may I ask if the downloaded IFC component can be displayed properly? The component I downloaded from bimserver cannot be converted by ifcconvert, and when opened in Revit, it also shows "cannot be opened". It is unclear what is causing this issue

@hlg
Copy link
Member

hlg commented Nov 27, 2024

In BIMvie.ws, you can see the OIDs in the "Browse" tab. If you want to get the OIDs programmatically, you could also use the low level interface, for example method LowLevelInterface.getDataObjectsByType with any programming language, not just Java. You can also write your own serializer which outputs only the OIDs - which would require Java though.

@jingyangking this question is not directly related and also discussed in your other post #1317, ignoring it here.

@hlg hlg closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants