In this Blender Python Tutorial, we will be taking a look at the updated Registration Method for our script(s) and add-ons. The updated or new way to register classes is much more convenient than it was before.
Looking to learn Python for beginners? You are in the right place. Be sure to check out the Scripting Playlist!.
In order to register any new classes we have to copy and paste "bpy.utils.register_class()". Then paste (or type) the name of our new Class. We then had to copy/paste it again for the Unregister.
We no longer have to copy and paste a whole bunch of stuff. When adding any new classes, we just simply add the class name in to the "classes" list.
If you would like to use the template script or the updated registration snippet, you can find the download link in our blog. I hope you find this Blender Python Tutorial helpful and as always thanks for watching!..
Links-
Blog: https://darkfallblender.blogspot.com/...
Facebook Group: / darkfallblender
Twitter: / darkfallstudios
На этой странице сайта вы можете посмотреть видео онлайн Blender Python Tutorial: Updated Registration Method [learn python for beginners] длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Darkfall 06 Апрель 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 7,119 раз и оно понравилось 153 зрителям. Приятного просмотра!