Sending visuable objects with @speckle/objectsender

Hi guys,

I’m fetching data through @speckle/objectloader, adding a few properties and then I’m sending the modified objects back.

All goes smooth, besides the objects are not visible in the viewer anymore :frowning:

I don’t exclude anything in the loader:

    const loader = new ObjectLoader({
      serverUrl: import.meta.env.VITE_SPECKLE_SERVER_URL,
      streamId: variables.projectId,
      objectId: variables.versionId,
      token,
      options: {
        enableCaching: true,
        fullyTraverseArrays: true,
        excludeProps: []
      },
    })

BUT I can see that the objects between the two versions are not the same.

New version:

Old version:

I’m guessing it has something to do with detach and/or chunks?

But that information seems to be lost, when I fetch the data through the @speckle/objectloader or I can’t find it.

What is the best approach to tackle this?

  • First of all - am I totally off?
  • Is there some unwritten rules of what is detached/chunked?
  • Or is there some way to pull the info from the incoming Speckle objects?

Speckle link: Private project, can share on email.

Thanks,
Christian