OSArch Community

Which IFC class should I use?

  1. N

    i was searching the 'Which IFC class should I use?' page on the BlenderBIM website for an IFC class this morning, it got me thinking how useful it would be to do this search inside BlenderBIM IFC Class assignment menu. I guess I'm not the first to think about this

  2. C

    Isn't it more useful to search for the class you need in the BuildingSmart documentation? They give very precise definitions of all the IFC classes.

    For example an IfcWall

    The wall represents a vertical construction that bounds or subdivides spaces. Wall are usually vertical, or nearly vertical, planar elements, often designed to bear structural loads. A wall is however not required to be load bearing.

    I think when trying to do this in BlenderBIM the UI gets too crowded.

  3. M

    I agree that right now it's a bit crowded. Perhaps in the future we can come up with an elegant UX for this, but not now.

  4. N

    or a predictive txt sort of option, start typing wal and all the wall options appear. just a thought

  5. M

    @Nigel I don't actually know how to build that in the Blender interface. Perhaps @Gorgious or @stephen_l might know?

  6. G

    V2.91 introduced Fuzzy search but it doesn't seem it's available in UILists... Might have to dig around to find out how to take advantage of it but I suspect it's hardcoded to builtin templates.

    However UIList search field in its default state could suffice for the time being ?

  7. S

    You may iterate the enum porperties items and perform a regexp based matching ?

    
    for i, item in enumerate(datablock.bl_rna.properties[attr].enum_items):
    
        item.name
    
  8. M

    Yes - both works, but I just can't see a slick interface when assigning. I've found that in practice, within a particular discipline, I only ever use the same 5-10 classes again and again and ignore the rest, so I'm not sure how much of a value add it is.

Login or Register to reply.