Fragment zbrush.commands.get_next_filename

Code fragment for zbrush.commands.get_next_filename.

zbrush.commands.get_next_filename

Returns the preset file path or file name used for the next load or save operation.

Code

"""Code fragment for zbrush.commands.get_next_filename.
"""
__author__ = "Ferdinand Hoppe"
__date__ = "16/10/2025"
__copyright__ = "Maxon Computer"

from zbrush import commands as zbc

zbc.set_next_filename(r"D:\\temp\\test.zbr")
print(f"{zbc.get_next_filename() = }") # > D:\\temp\\test.zbr (printed as 'D:temptest.zbr')