question

jacopo-r avatar image
0 Likes"
jacopo-r asked Felix Möhlmann answered

Add Color Palette to user custom library

Hi,

I am trying to add a color palette to a user custom library I am creating. I haven't see the option for doing that, so I was wondering if that is actually possible or if there's any workaround.
Having it as a drag-and-drop object or as an automatically installed feature will do it fine.

Thank you

FlexSim 23.1.3
user librarycustom user library
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

You can use the dropscript method to copy just about any node into the model tree when the respective library icon is dragged into the model.

https://docs.flexsim.com/en/23.1/Reference/DeveloperAdvancedUser/CustomLibraries/CustomLibraries.html#dropscript

Attached is an example library that contains the "Viridis" palette as a dropable object. You can inspect the tree of the custom library to see the necessary node structure.

1690877007817.png

ColorPaletteLibTest.fsl


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.