There is a function called create in the Model class. It is not working at the moment because the generateGuid parameter is missing. I fixed this but I fail to understand what the function is supposed to do.
After calling create() followed by commit(), it looks like it does create an object but not the properties. Is this on purpose, or was this functionality never fully implemented?
I had a look at the LowLevelInterface in BIMServer, are the following steps the correct process to create objects?
startTransaction
createObject
iterate through properties and call addStringAttribute / addIntegerAttribute / etc.
At the moment there is no project we can justify having a look at this for. This has worked in the past, but there has been little to no interest in the low level calls, so basically abandoned.
There is a function called
create
in theModel
class. It is not working at the moment because thegenerateGuid
parameter is missing. I fixed this but I fail to understand what the function is supposed to do.After calling
create()
followed bycommit()
, it looks like it does create an object but not the properties. Is this on purpose, or was this functionality never fully implemented?I had a look at the LowLevelInterface in BIMServer, are the following steps the correct process to create objects?
startTransaction
createObject
addStringAttribute
/addIntegerAttribute
/ etc.commitTransaction