Skip to content

Creating or modifying objects #16

@bastienmenis

Description

@bastienmenis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions