Post #4888: > i turn on PME macro and use overlay function with really long display time.

📋 Metadata

🏷️ Tags

v1-18-7 macro overlay-display debugging intermediate solved

  • Macro Editor
  • Overlay function
  • Status Notifier
  • Property Editor
  • Debug mode
  • Interactive panel

💬 Content

i turn on PME macro and use overlay function with really long display time.

I’m truly intrigued by your macro, and I love learning about other people’s workflows. As you are aware, PME’s overlay function does not provide a way to explicitly end text display.

or more like, start another one macro, in this case a macro that turns off the features of the prev macro

I see, then a method I’ve tried might work for you. Remember how I mentioned controlling Status Notifier with properties created in PME? You can implement that.

if i click on Store in Addon Preferences I don’t have any list, just an empty field with a search field in the heading…

This issue should be resolved in PME version 1.18.7. Using the latest version should fix it. To check if it’s a known issue, try searching this thread for “Store in Addon Preferences”

I thought “Info” window shows errors if i run a py file from Text Editor

Sometimes you can’t find errors even when you want to. Using PME’s debug mode (next to the interactive panel button) can give more detailed information, but you might still not encounter the errors you’re looking for. Do you know how to open Blender’s system console? That’s where you’ll often find errors.

So that means I could use “…AppData\Roaming\Blender Foundation\Blender\3.2\scripts\startup” too, right?

Yes, that approach wouldn’t be much different. I’ve just been reliant on PME, so I wasn’t aware of it. Just a note: if you’re using custom scripts that utilize PME features (like pme.context.add_global), it’s better to use autorun, as I’m not sure about the order in which things load.

I always try to know as little as I need to solve a problem.

That’s absolutely the right approach! And especially with PME, which should be great with AI, since it allows you to easily create UIs for small functionalities.

But currently, GPT’s answers don’t go beyond the user’s directives. The user needs to guide it as a director. You can’t just say, “Hey CHAPPiE! Make me an apple pie!” without at least suggesting, “I think apples and a pastry dough baked in an oven could make a pie, but what are your ideas?” That’s the right direction needed. And if you want to increase the quality, it becomes “I want to research the right oven settings to bake pie crust. Can you think of some test scenarios?” The initiative and motivation must come from the human side.

Just being able to read Python has great advantages. You can leave the writing to AI. However, humans need to decide if the structure is appropriate. Python is meant to be readable, so it shouldn’t be as difficult as you think. And since Blender addon source code is accessible, once you can read it, you’ll be able to find lots of hints.

For now, watching a course like this while munching on potato chips might be a good idea (buy it when it’s discounted to around $10):

Learn Python Programming Masterclass
It’s almost 50 hours long. You don’t have to go through the whole thing, just select the units you need. It might even be a good idea to watch just the introductions of each section first. It’s satisfyingly comprehensive yet affordable compared to other courses.

Python for Absolute Beginners
If the Learn Python Programming Masterclass feels too overwhelming and you want to focus on the essentials, this is recommended. Plus, the English is quite easy to understand.

But in the future, we’ll have GPTs tuned as replacements for documentation.

I set the overlay_alignment = ‘TOP’ in status_notifier.py, but the text still displayed at the bottom after restart

Oh dear, that’s true. I’ll have to fix that. But having it at the bottom can be convenient too, don’t you think?


❤️ 1 likes


🔗 View on Blender Artists