I might be doing something wrong, but
IfcFurniture, PredefinedType="CHAIR"
doesn't seem to work for me.
video:
I might be doing something wrong, but
IfcFurniture, PredefinedType="CHAIR"
doesn't seem to work for me.
video:
@theoryshaw you actually have found two bugs :-)
1 - If you create a new search group starting from the query (like what you have done in your video), the query gets modified in a wrong way adding an equals symbol
If you delete the equals symbol, the search works ok
2 - In your file, there are two IfcFurniture objects, but only one has the PredefinedType = CHAIR.
The other object hasn't the PredefinedType but the panel "object metadata" still shows the PredefinedType into the square brackets
This is ok
This seems wrong
Cheers, Massimo
@Moult Is quantity filtering not implemented yet? If so, I would like to try.
Thanks @Massimo
That worked for selecting the non-typed based instant object.
But, how do you select the following type-driven instance, however?
@bruno_perdigao said:
@Moult Is quantity filtering not implemented yet? If so, I would like to try.
Nevermind, I see that they are implemented. However, they don't seem to work with decimal numbers like: ifcopenshell.util.selector.filter_elements(model, "IfcColumn, Qto_ColumnBaseQuantities.Length > 2.5")
I'm getting this error:
umn, Qto_ColumnBaseQuantities.Length > 2.5
^
Expecting: {'PLUS', 'COMMA'}
Maybe it's a case to add "number" as expected value in the grammar.
try:
ifcopenshell.util.selector.filter_elements(model, 'IfcColumn, Qto_ColumnBaseQuantities.Length > "2.5"')
@c4rlosdias Thanks, that was it. However, it's not working with the ifcopenshell
installed with pip
. I assume it's not updated yet.
you need to install ifctester
@theoryshaw i guess in this way
Please note that it selects also the type object so, if you don't want to select also the type object, you can use this:
Anyone know how to pull out material psets via the Spreadsheet Import/Export?
The following doesn't work.
Got it..Like this! :)
Where can I find this filter in the latest release? I would like to filter by LoadBearing and EXISTING and make it visible in the 3D view.
I'm not fully understanding the correct syntax here.
@Coen said:
I'm not fully understanding the correct syntax here.
I tried Grouping and Filtering on my computer and I noticed some odd behavior:
Pset_WallCommon.Status = NEW works
Pset_WallCommon.Combustible with True throws an error
but if I use Pset_WallCommon.Combustible with 1
(instead of True) it works..
Pset_WallCommon.IsExternal does not return any selection with either True or 1
Same applies to Pset_WallCommon.LoadBearing
it would be interesting to know the right way to do it, thanks
@steverugi said:
- Pset_WallCommon.IsExternal does not return any selection with either True or 1
- Same applies to Pset_WallCommon.LoadBearing
For me these work with the input 1, true gives the error.
Blender 3.6.8 BBIM 240222
@Coen said:
I'm not fully understanding the correct syntax here.
I think you have to type "TRUE"
@steverugi
@Bimlooser
I hope it's ok to piggyback onto this discussion. I have been trying out schedules and have been facing some difficulties.
Here are my filters and CSV Attributes in BlenderBim:
Here is how it looks in OpenOffice:
Here is what it looks like when I use BBim to build the schedule into a SVG:
The things I would like to solve are:
Is it possible to replace the underscore with a space character? I tried {{value}}.replace("_", " ")
Is there a BBim solution to get ElementType
values to appear in place of the USERDEFINED
value of PredefinedType
In the ods file my column headings are bold, should they pass through to the SVG?
In the ods file I wrapped my cells but this doesn't seem to be translating correctly. Is there a way to fix this in OpenOffice?
Is there a way in BBim to apply rounding to a {{value}}
that consists of multiple values?
I can't get my storey names to appear, what am I doing wrong?
Is there a BBim solution to not show the None
values (or just show one)?
Good questions. I think i only know the following...
It's advisable to use opengost-b font when making your svg schedules. A lot of spacing, etc, is currently hardcoded assuming this font. If you use a different font, things can start looking weird.
maybe try storey.Name
?
Thanks @theoryshaw. I did first try storey.Name
but that didn't work and I presumed so because I am initially pulling in types not instances.
@tim 2. Try predefined_type
@tim I see you're using Tag
as the ID or Type Mark. I wanted to do that too, and seems to be the way to do it, but might want to read the following...
Thanks @theoryshaw, looks like the 'correct' way is to use the name field then. If the Tag field is only used by external exporters, should it not be a read-only value in BlenderBIM, or maybe it shouldn’t be in the UI at all. Is there a use case for having it visible or editable?
Would it be possible to select all objects belonging to a bSDD classification such as https://search.bsdd.buildingsmart.org/uri/buildingsmart/ifc/4.3/class/IfcBuiltSystemLOADBEARING
@martin said:
Would it be possible to select all objects belonging to a bSDD classification such as https://search.bsdd.buildingsmart.org/uri/buildingsmart/ifc/4.3/class/IfcBuiltSystemLOADBEARING
Sure, it's ifcopenshell.util.selector.filter_elements(ifc_file, 'IfcTypeProduct, IfcProduct, classification="IfcBuiltSystemLOADBEARING"')
Or from BBIM UI:
Login or Register to reply.