Adding class to existing POI…?

Home Forums Puzzles Adding class to existing POI…?


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #23060

    I was wondering if there was a possibility to add a custom class to a pre-existing annotation (POI), either on top of the default “v3D-annotation” class, or in addition to it…? This is to be able to have several styles of annotations.
    I tried using the “set attribute” puzzle, with the “classname” attribute to one existing PI, but without any success for now…
    Is it possible? Or is there some other way to do it, before to switch to custom bits of html that I would bind to my 3D objects…?
    Thanks for the help!



    I found a solution with a CSS selector that looks for a specific substring inside the “id”, which works perfectly…

    will style all my annotations with “-MM-” in the id name with a blue background. I did not need anything more! :)

    Yuri KovelenovYuri Kovelenov

    Glad you found a solution! :good:

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.