You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using GetLine() to read an IfcWindowStyle entity and I realized that the boolean attributes are hard to identify from the returned object.
This is the raw line: #150288=IFCWINDOWSTYLE('2oBbts7bIYPxtVzht3Nx15',#30,'Kombi-Fenster 1-Fl 22',$,$,$,$,'B22E5DF6-1E54-A267-BDDF-F6BDC35FB045',.NOTDEFINED.,.NOTDEFINED.,.F.,.F.);
I get the following object from GetLine():
The highlighted boolean enumeration values "F" show up differently than the "NOTDEFINED" enumeration values. Is there a reason the booleans don't show up as {type: 3, value: 'F'}? I wasn't expecting a naked string here that's not wrapped in the usual value/type object. It also makes it hard to identify booleans when they're not tagged as an enumeration. It may just be a string 'F', it's hard to know.
It would be great if the IfcBooleans and IfcLogicals would show up consistently like other enumerations.
A related question: I came across objects like {type: 10, value: [1, 2, 3, 4]}. Type=10 stands for Integer. Can this refer to single values as well as an array of Integers? Does this apply to all types? I couldn't find any documentation on this other than the type map in some code file.
Thanks for the great work on web-ifc!
Version
0.0.66
What browsers are you seeing the problem on?
Chrome
Relevant log output
Anything else?
No response
The text was updated successfully, but these errors were encountered:
What happened?
I'm using GetLine() to read an IfcWindowStyle entity and I realized that the boolean attributes are hard to identify from the returned object.
This is the raw line:
![Image](https://private-user-images.githubusercontent.com/111515188/411311361-9af34698-e44c-4423-a3b7-3363702f8877.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjI4NzYsIm5iZiI6MTczOTUyMjU3NiwicGF0aCI6Ii8xMTE1MTUxODgvNDExMzExMzYxLTlhZjM0Njk4LWU0NGMtNDQyMy1hM2I3LTMzNjM3MDJmODg3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwODQyNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mOTdmNzBjMmI3YmY3YWFhM2M2NDk3YjNmZjc5NTk0MDVhOGZlZDE0NTkzZDQ2NmMzZGU1YWFkMjRiYjI5MmI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Le8-nOEmLtGcdXiYS359VGJ59kTwGeTTWKGCf7wdhQ0)
#150288=IFCWINDOWSTYLE('2oBbts7bIYPxtVzht3Nx15',#30,'Kombi-Fenster 1-Fl 22',$,$,$,$,'B22E5DF6-1E54-A267-BDDF-F6BDC35FB045',.NOTDEFINED.,.NOTDEFINED.,.F.,.F.);
I get the following object from GetLine():
![Image](https://private-user-images.githubusercontent.com/111515188/411311500-8201aac4-def5-428a-80f3-5927f22164b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjI4NzYsIm5iZiI6MTczOTUyMjU3NiwicGF0aCI6Ii8xMTE1MTUxODgvNDExMzExNTAwLTgyMDFhYWM0LWRlZjUtNDI4YS04MGYzLTU5MjdmMjIxNjRiOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwODQyNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZDdkMDE3MjVlMGI4Y2U1YjAxMmY2YWFkMDYwMzQ1M2RkNGY1MjExMGVlZWY3NGEzMDI5MWNlMmU1YmY2MTA2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.4wLpyYB2q81ai6wi9duLaj4U6xMsWbYaa28Uqf12A24)
The highlighted boolean enumeration values "F" show up differently than the "NOTDEFINED" enumeration values. Is there a reason the booleans don't show up as {type: 3, value: 'F'}? I wasn't expecting a naked string here that's not wrapped in the usual value/type object. It also makes it hard to identify booleans when they're not tagged as an enumeration. It may just be a string 'F', it's hard to know.
It would be great if the IfcBooleans and IfcLogicals would show up consistently like other enumerations.
A related question: I came across objects like {type: 10, value: [1, 2, 3, 4]}. Type=10 stands for Integer. Can this refer to single values as well as an array of Integers? Does this apply to all types? I couldn't find any documentation on this other than the type map in some code file.
Thanks for the great work on web-ifc!
Version
0.0.66
What browsers are you seeing the problem on?
Chrome
Relevant log output
Anything else?
No response
The text was updated successfully, but these errors were encountered: