In the UI Panel layout I have:
def draw(self, context): layout = self.layout row = layout.row() props = row.operator("myops.addthings", text="HEAD") #text variable here props.sometext ="my object name"
In the operator I have:
sometext = bpy.props.StringProperty() bl_description = "Add "+str(sometext)
The tool tip however doesn't seem to be displaying the "sometext" as regular string, see the screen captured as below:
Seems the string returns as "", what is the fix to get it displayed?