bpy.ops.object.text_add missing "scale" keyword #92401

Closed
opened 2021-10-22 03:56:26 +02:00 by Lucas Wilkins · 10 comments

System Information
Operating system: Windows 10
Graphics card: nVidia RTX 2070

Blender Version
Broken: 2.82.7/ 2.93.5
Worked: ???

Short description of error

According to the documentation, bpy.ops.object.text_add should accept a "scale" keyword, but it doesn't do anything.

Exact steps for others to reproduce the error

Run: bpy.ops.object.text_add(location=(0,0,0), scale=(100,100,100))

In 2.93.5 it doesn't scale the text, in 2.82.7 it gives an error

Traceback (most recent call last):

File REDACTED/Text, line 60, in <module>
File REDACTED\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
  ret = op_call(self.idname_py(), None, kw)

TypeError: Converting py args to operator properties: : keyword "scale" unrecognized

**System Information** Operating system: Windows 10 Graphics card: nVidia RTX 2070 **Blender Version** Broken: 2.82.7/ 2.93.5 Worked: ??? **Short description of error** According to the documentation, bpy.ops.object.text_add should accept a "scale" keyword, but it doesn't do anything. **Exact steps for others to reproduce the error** Run: bpy.ops.object.text_add(location=(0,0,0), scale=(100,100,100)) In 2.93.5 it doesn't scale the text, in 2.82.7 it gives an error Traceback (most recent call last): ``` File REDACTED/Text, line 60, in <module> File REDACTED\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) ``` TypeError: Converting py args to operator properties: : keyword "scale" unrecognized
Author

Added subscriber: @lucaswilkins

Added subscriber: @lucaswilkins
Erik Abrahamsson self-assigned this 2021-10-22 11:10:10 +02:00

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Very much related to D11360 / #88047

Very much related to [D11360](https://archive.blender.org/developer/D11360) / #88047
Erik Abrahamsson removed their assignment 2021-10-23 09:54:21 +02:00

Added subscriber: @erik85

Added subscriber: @erik85

Oh, guess I can abandon then.

Oh, guess I can abandon then.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Oh, guess I can abandon then.

But I think your changes has not been added by Heramba in D11360.

> Oh, guess I can abandon then. But I think your changes has not been added by Heramba in [D11360](https://archive.blender.org/developer/D11360).
Member

I think it makes sense to track these all in #88047 (Python API - Scale parameter isn't taken into account when adding certain primitives), so will merge these reports.

I think it makes sense to track these all in #88047 (Python API - Scale parameter isn't taken into account when adding certain primitives), so will merge these reports.
Member

Closed as duplicate of #88047

Closed as duplicate of #88047
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#92401
No description provided.