Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can set selection color using Communicator.SelectionManager.setNodeSelectionColor and setNodeSelectionOutlineColor. These API set only one color. If you want to use multiple colors on selection , you can achieve it by usingCommunicator.Model.setNodesLineColor and setNodesColors to set colors to selected nodes instead of selection color, then when there is no selection, reset the color using resetNodesColor.
https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Communicator.Model.html
"Materials" of Developer Examples is helpful to see how to change the color of selected nodes.

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@231892
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "KBHC"
labelskb-how-to-article

Learn how to highlight nodes with multiple colors, as shown in the example below in our forum post.

...