2.90 "keyword "apply_as" unrecognized" - Error

Blender Asked by Increality on January 2, 2022

Using 2.90.0 Beta, I get a
TypeError: Converting py args to operator properties: : keyword "apply_as" unrecognized

I believe this is coming from a Boolean modifier:

    context = bpy.context
    scene = context.scene
    tX = scene.objects.get("tX")
    tCut = scene.objects.get("tCut")
    if tX and tCut:
        bool ='bool', type='BOOLEAN')
        bool.object = tCut
        bool.operation = 'DIFFERENCE'
                {"object": tX},

What’s interesting is it’s mentioning two other python files:

Error: Traceback (most recent call last):
  File "C:Users"user"", line 131, in execute
  File "C:Users"user"", line 199, in __call__
    ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
TypeError: Converting py args to operator properties: : keyword "apply_as" unrecognized

location: <unknown location>:-1

The also contains the boolean function, but it wasn’t being utilized. It throws a different error when it is utilized:

Error: Traceback (most recent call last):
  File "", line 125, in execute
    bool ='bool', type='BOOLEAN')
AttributeError: type object 'tX' has no attribute 'modifiers'

The has never been touched. All of this has been working fine in 2.82 & 2.83. Thank you

One Answer

This is not specific to boolean modifier. There was changes to python for modifiers. Remove the apply_as='DATA' and it should work.

Before we did

for data


for shapekey


Now we do

for data


for apply shapekey


for save shapekey


To use multiple versions of Blender, you can do like this.

version =

if version >= (2, 91, 0):

Answered by AFWS on January 2, 2022

Add your own answers!

Related Questions

Blurry Render for a Character

2  Asked on December 1, 2020 by lely-coquard


Sculpting is hard. Any other way to make a drop?

2  Asked on November 30, 2020 by akr


Create rings for ringed planet procedurally

1  Asked on November 29, 2020 by daniel-ortega


How to get user input for a function?

1  Asked on November 29, 2020 by nburgess


How can I make my CPU not work as hard?

3  Asked on November 28, 2020 by squirrel


Adding wrinkles to a game character

0  Asked on November 26, 2020 by noobmaster69


Local Coordinates Assignment

1  Asked on November 25, 2020 by aie-aie-aspe


How to render height map in Blender?

1  Asked on November 16, 2020 by kitfox


Rotate snapping a bone between two vertices

2  Asked on November 10, 2020 by telephone


Cell Fracture Not Rendering

0  Asked on November 6, 2020 by empacher


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP