IfcPlugins icon indicating copy to clipboard operation
IfcPlugins copied to clipboard

create new property in ifcbuilding and then write

Open ManoChanda opened this issue 8 years ago • 2 comments

property.txt thanks for your code of read modify and write. I want to write a new property inside the building but it will not write the added property inside the file

ManoChanda avatar Aug 24 '17 10:08 ManoChanda

Hi, I have added another example. A few lines have been commented to point out why you have to do certain things. Reading an IFC file and writing it back again is definitely possible with the BIMserver code, but it's not what it's designed for (obviously it's designed to store the data in a database). So that's why you need to do a little bit more.

https://github.com/opensourceBIM/IfcPlugins/blob/master/IfcPlugins/test/org/bimserver/test/TestReadAddWrite.java

rubendel avatar Aug 25 '17 06:08 rubendel

thanks alot, It works super

ManoChanda avatar Aug 25 '17 08:08 ManoChanda