Skip to main content

All Questions

Tagged with
0 votes
0 answers
26 views

Applying specific Geometry Nodes modifier to an object with python [duplicate]

I am very new to python and writing blender addons. I am currently trying to make an addon that takes the selected object, makes a new cube at that location, and then applies a set of custom geo nodes ...
michael warneke's user avatar
1 vote
1 answer
85 views

Boolean raise ValueError

A boolean modifier that was working is now throwing an error in Blender 4.0.1 raise ValueError("1-2 args execution context is supported") ...
Increality's user avatar
0 votes
1 answer
364 views

I dont know how to solve: "TypeError: bpy_struct: item.attr = val: DecimateModifier.ratio expected a float type, not _PropertyDeferred"

As part of the add-on, I am creating I am trying to decimate the selected object with the decimate (collapse) modifier and have a pop-up dialog box for the user to input the keep ratio. I keep getting ...
Ashlyn McCann's user avatar
3 votes
0 answers
102 views

Msgbus - Subscribe to Modifier Changes

I'm trying to subscribe to changes on modifiers of the active object? I am not very comfortable with the message bus system, so I wondered if this is a limitation of msgbus or if a different path ...
f.bra's user avatar
  • 142
1 vote
1 answer
96 views

Is there in Python to check if the tools collapsible menu is open/closed?

I'm trying to see if there is a way for me to get a boolean value for the tools menu being opened or closed. I know you can see a few toggle options using something like console.toggle() but I wasn't ...
Randy Hucker's user avatar
0 votes
1 answer
104 views

Align Active Object to Curve based on Eyedropper

FYI, this is based on my old question in previous post Is it possible to use single pointer to assign on multiple modifers' Pointer Properties at once?. Now, for my learning and experiement purpose, I ...
sirrus's user avatar
  • 169
1 vote
1 answer
46 views

How do I define a command for each of the options?

I created a dropdown using dynamic property. How can I set it so that, for example, I can apply that modifier to the name of one of the modifiers selected in the list, but unfortunately I can not get ...
user5963087's user avatar
1 vote
1 answer
207 views

Help accessing code from addons without making the user enable the addon themselves

I'm trying to access some code in an addon that ships with blender (bool tools and extra objects) and I want to be able to automatically import the code I need without having to make the user enable ...
Alexander Herzog's user avatar
3 votes
1 answer
3k views

2.90 "keyword "apply_as" unrecognized" - Error

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 ...
Increality's user avatar
2 votes
1 answer
1k views

Button with Multiple Operations/Functionality

I would like to code multiple functions (operations?) to a single button that is on a Display panel within the 3D viewport, and which will have toggle functionality. This is what I have so far. I'd ...
Increality's user avatar
1 vote
0 answers
151 views

How can I write a Python script to turn all normals on a curve to face outward…!

I’ve completed a few professional projects in C#/Unity, have worked through 90% of Microsoft’s Beginners Guide to Python, just started Python the Hard Way and have done a bunch of beginner Blender ...
Reverend Speed's user avatar
2 votes
0 answers
264 views

Hide object part under a plane base on normal and point (dynamic bisect) with python

I'd like to hide a part of an object based on a plane, like a bisect with clear inner/outer but i want to keep the possibility to make this change dynamic in real time (it is done with python through ...
Pyros's user avatar
  • 655
3 votes
2 answers
2k views

How to do i disable a row.operator in my custom panel by detecting if there is a specific modifier type and name is present or not?

How do I detect a modifier specific modifier name and type and use this to create and if/else statement to disable a row.operator(Button) in my custom panel ?
Retrax's user avatar
  • 1,520
2 votes
1 answer
2k views

Setting active object through python issues

I am working on an addon that creates siding, it also allows you to cut out rectangles in it for windows and doors. It uses Boolean modifiers for this. When you select bricks it cuts the brick then it ...
BlendingJake's user avatar
  • 2,557
2 votes
1 answer
2k views

Export modifier, not apply

I'm making an exporter for Blender to Metasequoia. (the import while come later) Metasequoia 3d file are compatible with modifier like mirror and subdivision surface I really don't want to apply them ...
user2030's user avatar