The correct way too do this is by using path variables. See: Tutorial: How to make a footprint in KiCad 5.1.x (From scratch)? section 3d model assignment)
The correct way too do this is by using path variables. See: Tutorial: How to make a footprint in KiCad 5.1.x (From scratch)? section 3d model assignment)