start scene with changed frames

   304   1   1
User Avatar
Member
4 posts
Joined: Oct. 2021
Offline
start scene starts from 1001 to 1240, I managed to find this video, where the people of Entagma explain it very well
https://www.youtube.com/watch?v=ejZtvwztceU&ab_channel=Entagma [www.youtube.com]
but the surprise has come when I manage to open the scene, but the timeline is as always from 1 to 240, does anyone know how to solve this?
thank you very much to all
User Avatar
Member
2572 posts
Joined: June 2008
Offline
You can run python code to customize Houdini on startup.
Create a "scripts" folder in side your Houdini 20.xxx folder and drop this code into a text file.
On my system, the file path is: C:\Users\Admin\Documents\houdini20.0

def main():
	hou.playbar.setFrameRange(1001,1241)


if __name__ == '__main__':
	main()
Save the text file with the exact name of "123.py" inside the scripts folder. Launch Houdini, and the code will run, setting your time line to the frame range.

Learn more about startup scripts here...
https://www.sidefx.com/docs/houdini/hom/locations.html [www.sidefx.com]
Edited by Enivob - May 14, 2024 08:46:26
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
  • Quick Links