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.
commitTransaction
There is a function called
createin theModelclass. It is not working at the moment because thegenerateGuidparameter 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?
startTransactioncreateObjectaddStringAttribute/addIntegerAttribute/ etc.commitTransaction