Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating or modifying objects #16

Open
bastienmenis opened this issue Apr 27, 2018 · 1 comment
Open

Creating or modifying objects #16

bastienmenis opened this issue Apr 27, 2018 · 1 comment

Comments

@bastienmenis
Copy link
Contributor

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
@rubendel
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants