UVB Posted January 21, 2020 Share Posted January 21, 2020 Hey Everyone, I’m currently working on a network that will sort rooms into categories based, amongst other, on the opening type of the door. I’m able to get the opening direction via „Get IFC pSet Value“, ‚IFC pSetName‘: ‚Doorstyle‘, ‚IFCPropName‘: ‚OperationType‘, but I can’t figure out how to get the data from „DoorID“ that I defined via the Info/IFC-Data dialog in the doors settings. Is the DoorID a pSet value? Quote Link to comment
Pat Stanford Posted January 22, 2020 Share Posted January 22, 2020 I am far from an IFC expert, but I don't see a DoorID field in and of the Door IFC psets. There is a field name Tag in the ifcDoorStyle pSet. Quote Link to comment
m.graf Posted January 22, 2020 Share Posted January 22, 2020 @UVB i believe the DoorID is not "connected" to IFC, I use my own database / PSet to set and get the doornumber manually Usually i need this type of Doornumber: level + roomNr. + doorNr. (maybe it's a nice Marionette Script, or possible with the new datastamp) Quote Link to comment
UVB Posted January 22, 2020 Author Share Posted January 22, 2020 @m.graf @Pat Stanford That’s what I thought, though i was confused since it was listed in the „IFC/Info“ panel. I was able to assign each door a number through their Classification - Name Field, this field is now set up through the IFC-Datamanager to reference the Object.DoorID. Also, one thing to note is that I had to un-assign and re-assign the IfcDoor Database to each door before running the script after making the changes in the IFC-Datmanager. Otherwise the Value is displayed in the info panel when selecting the door but Marionette-Scripts will not be able to read it and the Get pset nodes will produce an error. Unrelated to the DoorID problem at hand, I was unable to set database fields that are a Pop-Up. I think these are either referred to as „enumeration“ or „Identifier“, but I am unsure how to set them using the set database node. I tried using a string or integer equal to the popups values but it didn’t work. Quote Link to comment
m.graf Posted January 22, 2020 Share Posted January 22, 2020 @UVB if you will upload (the part of) your script, i take a look at the problem, it's very interesting because i try something similar. Quote Link to comment
UVB Posted January 22, 2020 Author Share Posted January 22, 2020 (edited) @m.graf I created a quick file with a script that will try to categorise three rooms via their floor area into categories. The database is „Hotelzimmer“, the entry its trying to adjust is „Zimmertyp“. I’ve also tried to control one ‚set database‘ node via a string and two via integer but it doesn’t work in both cases. Very interesting to note is that after running the script one is unable to set the „Zimmertyp“ popup manually, it is now a blank entry and won’t present the other options set up inside the database. The database has to be deleted from the object and re-assigned in order to be able to set any popups values again. 200122 Test Database Popup.vwx Edited January 22, 2020 by UVB Added File Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.