Join Patrick W. Crawford for an in-depth discussion in this video ✓Solution: Create a panel layout, part of Python Scripting for Blender.
- View Offline
- Exercise Files
(echo effect)…- [Instructor] Now let's dive into how we can create…the panel described.…Make sure that we start Blender with a console,…so if we have any errors we can see them immediately.…Next, I'm gonna open up the challenge file.…With the file and user interface up,…let's first run the initial script.…On doing so we should see that under the T panel…of the 3D view under the Tools tab we have…the Multi-Column Panel Challenge loaded…with one operator existing.…
As a reminder, the goal is to create two rows…where the first row contains two columns…and the second row contains three columns.…Start off with, I'm gonna comment out this first line,…and then within the code block described…I'm gonna create our two rows.…Row equals layout, which is the convenience variable…we created at the top of the draw function, .row.…Here we're just creating one row object.…Then I'm gonna create another row object below this one.…
Row equals layout.row().…In fact you could copy paste the same code…because it is exactly the same.…
AuthorPatrick W. Crawford
- Controlling Blender with code
- Exploring the bpy library
- Creating Blender operators and properties
- Writing scripts
- Auto running scripts
- Drawing interface elements such as panels and menus
- Building a custom add-on
Skill Level Intermediate
Introduction to Data Analysis with Pythonwith Michele Vallisneri2h 16m Intermediate
1. Controlling Blender through Code
2. Create Blender Scripts
3. Customize Blender Interfaces
4. Build Your Own Add-On
Next steps1m 15s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.