Assets are files that you want to include in your exported addon. If you for example want to include a blend file that contains node groups or materials you want to make use of in your addon you need to add it as an asset. Serpens will then automatically take care of adjusting the file path depending on where the addon is installed.

An asset can be

Adding an asset

You can add assets in the node editor N-Panel. Simply click the plus button and a file browser will open. You can choose if you want to select a directory in the file browser settings or simply adjust the file path afterward.

Untitled

The asset node is used to get the file path. The path output of that node will be the path to your asset. You can use this to pass to an append node or use path nodes to get related paths.

Untitled

Untitled

Add an asset to your file (in this case a blend file) and append something from that file. The blend file asset will be included in your exported addon.