Hi. I’m still confusing on solve one problem on render engine which need to select binary executable file for working engine properly but I would like to include that binary executable file inside my addon (e.g.: <my_addon\bin\engine.exe>) and post relative path to that exe file via addon istelf not as “Select path to exe file”-like method. By default for selecting path to exe file is works like this on my addon:
exe_bin_dir: bpy.props.StringProperty(name="",
description="",
default=util.switchpath(tempfile.gettempdir())+'/',
There is “util.switchpath” not by default, it does mean it takes “switchpath” defined operator from inside “util.py” file and pin here.
So, my question is how to code for make default path to my addon like for example:
exe_bin_dir: bpy.props.StringProperty(name="",
description="",
default="./<my_addon/bin/engine.exe>"
What am I must overwrite here on three dots?
default=...,