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

Don't unlink ifc elements from vanilla collections on assign #4285

Open
wants to merge 1 commit into
base: v0.7.0
Choose a base branch
from

Conversation

Gorgious56
Copy link
Contributor

I think this is not reallly ready to merge as-is but I would like to tackle a problem I have with the BlenderBIM addon automatically unlinking ifc objects from vanilla Blender collections on assign / save.

I consider this a semi-advanced feature because it takes the risk of associating the contents of the Blender file to the workflow of the BlenderBIM addon. Which in the past was extremely unstable but I must say nowadays I rarely encounter any bug regarding this workflow.

As you may know in Blender an object can be linked to any number of collections. This can be used to effectively visually filter certain elements. The current implementation prevents the user from using this feature because IFC elements are forced to be part of one and only one collection.

eg I may want a collection with only the beams in my project, or a collection with only my flow systems, or only the geographical elements. Currently it is possible to do it with the group and filter system but I think the workflow is a bit too much abstracted from Blender's systems and the query syntax forces the user to be intimate with the IFC terminology which is not always straightforward.

This PR only unlinks elements from collections which are part of the ifc project, effectively leaving vanilla collections untouched on save. This may unlock some new workflows like discussed over the OSArch forum.

I think eventually it would be nice to couple the collection feature with the systems feature to allow visual grouping of objects by linking to actual Blender collection.
image

I have not run the test suite to check if this ruins everything.

Please advise if you have any commentary. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant