model.path¶ since 1.5.5 Get the model relative path. local name = model.path() Parameters¶ None. Returns¶ name (string) Real-world usage¶ Called 2 times across 2 open-source Ethos Lua projects. A few short excerpts: Example 1Example 2 local function getModelKey() local path = model.path and model.path() or "" local name = model.name and model.name() or "" local raw = path ~= "" and path or name return ofs3.utils.sanitize_filename(raw) end src/ofs3/lib/runtime.lua:82 local function getModelKey() local path = model.path and model.path() or "" local name = model.name and model.name() or "" local raw = path ~= "" and path or name return dashx.utils.sanitize_filename(raw) end src/dashx/lib/runtime.lua:87