I can't set the action name on the import action API function
Issue #1616
invalid
I've tried it with my own code but then I just broke it down into writing a string containing the action name but it's not working ….is the location of the action name key important or can I just put it anywhere within the parentheses
if manager.diffeomorphic_import_action == True:
fps = float(manager.diffeomorphic_fps)
actionName = manager.diffeomorphic_action_name if manager.diffeomorphic_action_name != "" else "Action"
import_daz.set_selection([action_file])
bpy.ops.daz.import_action(fps=fps, firstFrame=manager.diffeomorphic_first_frame, lastFrame=manager.diffeomorphic_last_frame, actionName="Actions")
The above code isn't working I remember I could turn errors on so I'm gonna go ahead and turn on errors and try again and we'll post back
Comments (5)
-
reporter -
reporter actionName=True
It's important to explicitly set this I just found out I don't wanna take any of your valuable time so you don't even have to answer this unless you have something else to add you could just mark it as resolved but then people could find this
-
reporter Might be a good addition to the API though..this info
-
repo owner - changed status to open
-
- changed status to invalid
not a bug
- Log in to comment
One note I turned on false for silent mode and there was there was no information stating the action name that was added so it might be a good idea to at least print to the console maybe just confirmation that an action was added or something but you guys know more about this,,,