Jump to content
UVB

Get IFC „DoorID“ via Marionette

Recommended Posts

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? 

Share this post


Link to post

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.

 

 

Share this post


Link to post

@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)  

 

Share this post


Link to post

@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.

Share this post


Link to post

@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. 

Share this post


Link to post

@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 by UVB
Added File

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...