I was trying to follow this tutorial to use Pycharm with blender. I extracted the API from blender but when trying to use the bpy library, I get multiple errors. Is there some way to fix this or download a more stable version?
I get an error like this:
def template_list(listtype_name, list_id="", dataptr, propname, active_dataptr, active_propname, item_dyntip_propname="", rows=5, maxrows=5, type='DEFAULT', columns=9):' ^ SyntaxError: non-default argument follows default argument
This is after I fixed 7 errors. I know how to fix it but its a huge hassle to fix all the errors.
This is after I fixed 7 errors. I know how to fix it but its a huge hassle to fix all the errors.
– sajdnv Apr 15 '18 at 12:25template_listmethod come from?list_id=""is known as a default argument, ie it has a default value of "". It needs to be in argument list after the non-default arguments. – batFINGER Apr 15 '18 at 15:15