How to update a model image in model of a digital twin using C#

GuidoL 310 Reputation points
2023-05-06T12:08:57.3166667+00:00

Hi,

i haven't found any example code about how to update a model image in a model for a digital twin using C#; i updated models to have twin graph images only using "Update model image" in ADT Explorer Preview; i'd like to automate the update for all models.

Finally, always in ADT Explorer Preview, I realized it's impossibile to increase resolution of twin images: so images are really very small.

Thanks in advance.

Guido

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
224 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 31,211 Reputation points MVP
    2023-05-06T18:30:46.5433333+00:00

    Hello @GuidoL ,

    it seems updating or scaling the image is not part of the API.

    The twin metadata update seen in the data plane does not support this or it's not documented: the body is not well explained.

    A feedback request can be placed here. Please put the link in the comments below so we can endorse it.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    1 person found this answer helpful.
    0 comments No comments