Linked Questions

5
votes
1answer
6k views

How to link/append with a Python script? [duplicate]

I want to append an element from another Blend file by a script. I found the Blender operator bpy.ops.wm.append which should do what I want. However, the API documentation is a bit unclear: ...
2
votes
2answers
458 views

Load .blend file into Blender as Python Module [duplicate]

I am using Blender as a Python module. Now I am trying to load a scene into blender. Unfurtunately the obvious function bpy.ops.wm.open_mainfile(filepath) does not ...
1
vote
0answers
78 views

How to copy an object from one blend file to another via python? [duplicate]

I want to copy an object via python from one scene to another. Scene with the object: Scene where i want to copy it to:
0
votes
0answers
19 views

How to import from .blend specific scene.world correctly? [duplicate]

The procedure should be fairly simple but it is giving me a hard time. Example: ...
0
votes
0answers
13 views

How to Link/Append world using the blender Python API? [duplicate]

I'm searching a way to append a World in blender Python. I read the reference in How to Link/Append a data-block using the Python API? but that is for group append. is there a way to make that work ...
9
votes
2answers
3k views

Import object without bpy.ops.wm.link_append

Is it possible to import an object from a library file through Python without using bpy.ops.wm.link_append? I want an object to appear in ...
2
votes
2answers
1k views

Automatically Scale and Export All Files in Directory?

Is there a way to go through every .blend file in a directory and do the following with each: Open the file. Move the cursor to 0,0,0 Enter edit mode (there is ...
0
votes
2answers
1k views

Export material from Cycles for Cycles?

I saw this question and learned it's very tricky to export material from Cycles for other applications' use. So let me clarify: I only work with Blender. Previously while I was working with BI, I ...
5
votes
1answer
871 views

Append group with Python API

I want to append a group with the Python API, like I would normally do with File > append. I already tested this solution: How to Link/Append a data-block using the Python API?, and this one: How to ...
1
vote
1answer
971 views

Import group from external blend file

I have a .blend file that has a house group in it: I'd like my script to be able to extract the house group from that file, then make duplicates of it in the current scene. I want to be able to ...
1
vote
1answer
379 views

How to append a Rig with a python interface at the same time

I'm making a rig that has a python interface and I was wondering if their was anyway to append the rig and the script at the same time so the script runs as soon as it's appended.
1
vote
1answer
243 views

python open file browser to Group directory of blend file?

Is it possible in 2.79 to open the file browser to the internals of a specified blend? I have a template.blend, that will have several Groups in it. Currently, I have a button that opens the file ...
1
vote
1answer
198 views

load and change material with python script

My script is not functioning as I would like. I am appending a material from a file and the material is not adding to the material list. Second I am trying to change the generated ellipsoid to a ...
1
vote
0answers
56 views

Blender open a large file not at a time, but gradually with command line

The business purpose is that I allow registered user upload different 3D model files. When other users review the file, he or she does not need to download the whole file (size about several Gbs), he ...
2
votes
0answers
32 views

How to Link/Append collections from a different blender file in 2.8

im trying to link some collections from python, and i was following the example from this post : How to Link/Append a data-block using the Python API? but its not for 2.8 and it uses groups, how can ...

15 30 50 per page