For anyone working with progressiveSourceLoading here a note of a workaround until its fixed officially.
The manual says to enable async loading like this
setProgressiveSourceLoading = true
But this doesn’t work in RV 2024.1.0
from rv import commands as rvc
print(rvc.progressiveSourceLoading() )
rvc.setProgressiveSourceLoading = True
print(rvc.progressiveSourceLoading() )
Result:
> False
> False
Trying to use it like a function call doesn’t work either
from rv import commands as rvc
rvc.setProgressiveSourceLoading(True)
Result:
Traceback (most recent call last):
File "C:\Program Files\Autodesk\RV-2024.1.0\src\sgtk\baked\plugin\bundle_cache\app_store\tk-multi-pythonconsole\v1.4.0\python\app\input_widget.py", line 246, in execute
exec(python_code, self._locals, self._locals)
File "python input", line 2, in <module>
TypeError: 'bool' object is not callable
But importing it again works
from pymu import MuSymbol
s = MuSymbol("commands.setProgressiveSourceLoading")
print (rvc.progressiveSourceLoading())
s(True)
print (rvc.progressiveSourceLoading())
s(False)
print (rvc.progressiveSourceLoading())
Result:
> False
> True
> False