NodeCustomBuilder 2.8 (Free addon)

That’s good point. I think that we could leave saving like this but adding “are you sure checkbox” when it’s overwriting old file. That gives enough protection I think.

2 Likes

My apologies if someone has already mentioned this…

When applying an NCB preset to an object that has no prior material, the default material settings are still in place (which must be deleted before the loaded preset can work):

When applying an NCB preset to an object with no prior materials, can NCB delete the default PBR and Material output nodes ?

This is a very bad idea to my opinion.
There are at least a few asset managers that can set a new material with a single click.
Node Custom Builder is the only one (that I found) that is able to add to existing node setup, and this is why I love it :slight_smile:

My suggestion is only in regards to applying a preset to an object with no prior material assigned.

@haikalle I found out that AOV output in material nodes doesn’t work with node custom builder. It saves, but causes an error during load. I reproduced it by saving just individual AOV Output node.

I haven’t really used the addon before this and tested with version 0.0.61 that I had downloaded sometime before, so I don’t know if there is a later version that would work.

ERROR INFO

Python: Traceback (most recent call last):
  File "C:\Users\Saku\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\NodeCustomBuilder\__init__.py", line 357, in execute
    read_json.read(self.filename)
  File "C:\Users\Saku\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\NodeCustomBuilder\read_json.py", line 228, in read
    objekti = active_nodetree.nodes[new_node_name]
KeyError: 'bpy_prop_collection[key]: key "__node__" not found'

location: <unknown location>:-1

JSON FILE

{
    "material": [
        {
            "use_backface_culling": false,
            "blend_method": "OPAQUE",
            "shadow_method": "OPAQUE",
            "alpha_threshold": 0.5,
            "use_screen_refraction": false,
            "refraction_depth": 0.0,
            "use_sss_translucency": false,
            "pass_index": 0
        }
    ],
    "frames": [],
    "nodes": [
        {
            "node": "ShaderNodeOutputAOV",
            "name": "__node__",
            "label": "",
            "location": [
                970.1237182617188,
                189.26409912109375
            ],
            "hide": false,
            "main_socket_type": "",
            "parent": "",
            "hidden_outputs": [],
            "height": 100.0,
            "width": 140.0,
            "extra_settings": [
                [
                    -1,
                    -1,
                    -1
                ],
                [
                    1,
                    "Color",
                    [
                        0.0,
                        0.0,
                        0.0,
                        1.0
                    ],
                    false
                ],
                [
                    1,
                    "Value",
                    0.0,
                    false
                ]
            ]
        }
    ],
    "links": [],
    "keyframes": [],
    "groups": []
}