I have created a custom nodetree with python and to save time I am attempting to import some existing nodes. Specifically the math node from the texture node tree "bpy.types.TextureNodeMath".
I have imported it and added it to a category, it appears in the add node menu but upon attempting to add it i get the error:
"RuntimeError: Error: Cannot add node of type TextureNodeMath to node tree 'NodeTree' "
Any help is most appreciated.
Thanks.