|
Blender V5.3
|
#include <Python.h>#include "bpy_path.hh"#include "../generic/py_capi_utils.hh"#include "BKE_autoexec.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
| blender::PyDoc_STRVAR (bpy_path_is_autoexec_doc, ".. function:: is_autoexec(path, *, skip_overrides=False, canonicalize=False, " "strip_filename=False)\n" "\n" " Return false when a directory is excluded from running scripts automatically,\n" " see :class:`bpy.types.PreferencesFilePaths.autoexec_paths`.\n" "\n" " .. note:: The preference to enable automatic script execution & any command line\n" " override are checked unless ``skip_overrides`` is set,\n" " see :class:`bpy.types.PreferencesFilePaths.use_scripts_auto_execute`.\n" "\n" " :param path: The directory to check, expected to end with a path separator,\n" " must not be empty.\n" " :type path: str | bytes\n" " :param skip_overrides: Only check the excluded paths, skipping the preference to enable\n" " automatic script execution & any command line override.\n" " When false, the result is the default for \"Trusted Source\" when opening the path.\n" " :type skip_overrides: bool\n" " :param canonicalize: Resolve the path first,\n" " disable when it's known to be resolved.\n" " :type canonicalize: bool\n" " :param strip_filename: Use the directory of `path`, otherwise it is a directory already.\n" " :type strip_filename: bool\n" " :return: True when blend-files in the directory are trusted to run scripts.\n" " :rtype: bool\n") | |
| static PyObject * | blender::bpy_path_is_autoexec (PyObject *, PyObject *args, PyObject *kw) |
| PyObject * | blender::BPyInit__bpy_path () |
Variables | |
| static PyMethodDef | blender::_bpy_path_methods [] |
| static PyModuleDef | blender::_bpy_path_module_def |
This file defines '_bpy_path' module, Some 'C' functionality used by 'bpy.path'
Definition in file bpy_path.cc.