Assigning a Filament (aka Thermal Preset) to an Extruder

actually looking at the error fluidd gives me when testing the variable in the consle, it makes me think it could also be something with fluid or moonraker.

{'error': 'WebRequestError', 'message': "Error on 'SET_PRESSURE_ADVANCE advance={printer.extruder.filament.pa}': unable to parse {printer.extruder.filament.pa}"}

That should be the correct chain to get to the pressure advance variable. (if you have a printer with a single configured extruder)

This has to be called from a macro. You cant do variable substitution in the console (unfortunatly :frowning:). To test it, set up a macro like this:

[gcode_macro TEST_SET_PA]
gcode:
    SET_PRESSURE_ADVANCE advance={printer.extruder.filament.pa}
1 Like

ok yeah, that worked. I have no clue why but it was acting up in my start g code for a while

1 Like