Method to get scene by name. #36061
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#36061
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%This patch adds the ability to get a KX_Scene object by name.
The getScene.pacht adds a new method getScene("name") to the logic module which returns a KX_Scene.
The getSceneDict.patch adds a new method getSceneDict() to the logic module which returns a dictionary of KX_Scenes.%%%
Changed status to: 'Open'
%%%I have set the the category.
Please can somebody change it form Python API to Game engine.%%%
Added subscriber: @solarlune
Added subscriber: @Trixymoon
Added subscriber: @mahalin
Added subscriber: @AngusHollands-4
Whilst I agree that the API misses these features, I believe it would be better to implement them as we already implement object lookups and sensor lookups. It would require using class attributes rather than methods.
I tried that, but without success. With the actual Python API skeleton it is not possible for me to add attributes to the basic modules like logic or render.
Removed subscriber: @mahalin
Added subscriber: @Blendify
Any way on updating this for the current master if not we can archive this patch? Also can you add it to the differential tool.
never mind about the differential
Added subscriber: @mont29
Changed status from 'Open' to: 'Archived'
We have a phabdiff for this now, no need to keep it open.