5 votes

How can I remove all uv layers but the last one and rename it on multiple objects?

Use a python for that: ...
user avatar
  • 25.6k
2 votes

How to drive a modal operator from a class TerrainSculptWorkspaceTool(bpy.types.WorkSpaceTool):?

You have to put this into your invoke method. ...
user avatar
  • 2,364
2 votes

How can I remove all uv layers but the last one and rename it on multiple objects?

Another method which worked for me because the other method didn't. ...
user avatar
  • 26k
2 votes

How do I make this chunk separation algorithm I've been working on?

I can't tell all of what is going on with your code, there seems to be missing sections. Also you didn't post the error code so I can't really tell exactly how to fix your one specific problem. Your ...
user avatar
  • 2,364
1 vote

bpy scripting: Join objects in a collection

You have to make sure you have selected all the objects you want to join using obj.select_set(True) in the for loop and make sure one of the objects is active (...
user avatar
1 vote

Bpy get the name of a collection of object

There is no collection member in bpy.types.Object instead you need to search the collection for the object: ...
user avatar
  • 29.8k
1 vote
Accepted

How to Do Exponential Step Iteration in bpy.props.IntProperty()?

Yes it is possible. I made a sample panel with an increment/decrement stepper component that increments values of within power of 2. Apologies for the global variable hack. Anyone feel free to edit ...
user avatar
1 vote
Accepted

Bpy: Add a modifier to every object in the scene that doesn't yet have one

Here you're looping over EXISTING modifiers and checking if they are of the correct type. You can make use of the barely used for ... else idiom to do what you're ...
user avatar
  • 26k
1 vote
Accepted

Bpy Set all objects to shade smooth

You can use this code to make it work: ...
user avatar
1 vote
Accepted

Bpy check if each object is parented

If an object is parented, then its parent member will refer to the parent object. Otherwise, parent will be empty (...
user avatar
  • 29.8k
1 vote
Accepted

Renaming an object referencing an empty name

...
user avatar
  • 2,201
1 vote

How to set color object using python and Blender 3.0 individually using a template object

Here is how I create color for an object using Goo package to create a cell object: ...
user avatar
  • 111
1 vote

What's the best way of replacing a material in your scene with another one?

To change all objects with old material (brown) to new material (blue). Go to the Outliner and select Blender File view. Find the old material under Materials, right click it and select Remap Users. ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible