Trimble Connect User Forum

 View Only
Expand all | Collapse all

How to get the color of model object in Trimble Connect for Desktop API?

  • 1.  How to get the color of model object in Trimble Connect for Desktop API?

    Posted 02-23-2023 17:54

    How to get the color of model object in Trimble Connect for Desktop API?

    Do you have any ideas?



    ------------------------------
    Yong Seok Shin
    ------------------------------


  • 2.  RE: How to get the color of model object in Trimble Connect for Desktop API?

    Posted 02-24-2023 10:28

    I use to export the "CLASS_ATTR" from tekla to get the number corresponding to the color.



    ------------------------------
    Ana Granadeiro
    ------------------------------



  • 3.  RE: How to get the color of model object in Trimble Connect for Desktop API?

    Posted 02-26-2023 15:00

    I can set in applications using the desktop API.  I would like to know how to get the set color by users. 



    ------------------------------
    Yong Seok Shin
    ------------------------------



  • 4.  RE: How to get the color of model object in Trimble Connect for Desktop API?

    Posted 02-26-2023 21:46
    Edited by Darshan Rajaram Kamat 02-26-2023 21:47

    Hi Yong,

    Are you referring to Trimble Connect workspace APIs or something else ?

    Regards

    ------------------------------
    Darshan Rajaram Kamat
    ------------------------------



  • 5.  RE: How to get the color of model object in Trimble Connect for Desktop API?

    Posted 02-27-2023 18:31

    Hi Darshan,

    I'm referring to Trimble Connect for Desktop API.

    I cannot find the function in C:\Program Files\Trimble\Trimble Connect\API Documentation\Trimble.Connect.Desktop.API.chm.

    Regards,



    ------------------------------
    Yong Seok Shin
    ------------------------------



  • 6.  RE: How to get the color of model object in Trimble Connect for Desktop API?

    Posted 03-01-2023 03:00

    Hello Yong,

    Unfortunately this is not possible at the moment. The TCD API does not support getting the object color. We have now recorded this improvement request in the backlog.

    The above mentioned Workspace API has the support. However, the Workspace API is available for the TC Web 3D Viewer.

    With regards,

    Jari



    ------------------------------
    Jari Juntunen
    ------------------------------



  • 7.  RE: How to get the color of model object in Trimble Connect for Desktop API?

    Posted 04-19-2023 09:12

    Hello,

    There was an API improvement released today which adds a method to get object color (GetColor Method). Please see Trimble Connect for Windows 1.18.0 | Release Notes | April 19, 2023  for more details.

    Jari



    ------------------------------
    Jari Juntunen
    ------------------------------