Post #1553: This doesn’t necessarily go along with your Addon exactly, but in Python/in Blen
📋 Metadata
- Author: Kickflipkid687
- Date: 2018-09-07 03:47:49
- Type:
question - Quality Score: 5/10
- Replies (1): post_01554
🏷️ Tags
⚙️ Related PME Features
- Property Editor
- Python Scripting
💬 Content
This doesn’t necessarily go along with your Addon exactly, but in Python/in Blender, can I create a layout.prop_search, where it initially loads up a specific Object, but then when I click the drop down/select another object, it replaces it, and doesn’t RENAME the original?
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
obj = item.object
split.prop_search(obj,"name",bpy.context.scene,"objects","","",False,'OBJECT_DATA')
