Auto-Migrate KiCad V8 Environment Variables to KiCad V9

Excited to try out KiCad V9 :partying_face: (I have been alreay using the Nightlies). I have already imported most of the settings, themes, configurations and add plugins to V9. But I am not sure how to handle the environment variables. For example, when loading some of the previously customized library items, the 3D models of items are still referred through the KICAD8_3DMODEL_DIR env variable instead of the new KICAD9_3DMODEL_DIR. This causes the models to be not loaded properly.

Is there a proper technique for migrating these environment variables from one versions to the other, or do we have version independent variables that we can use?

Another issue is that some of the old env variables still persist in the Environment Variables table under Configure Paths. I can’t seem to delete the old V6 and V7 variables. I just get a Windows warning sound when trying to do so.

Read this:

in particular this note:

KiCad will automatically resolve versioned path variables from older versions of KiCad to the value of the corresponding variable from the current KiCad version, as long as the old variable is not explicitly defined itself. For example, ${KICAD8_FOOTPRINT_DIR} will automatically resolve to the value of ${KICAD9_FOOTPRINT_DIR} if there is no KICAD8_FOOTPRINT_DIR variable defined.

I added the emphasis.

3 Likes

New V9 documentation :star_struck: Time to RTFM :grin:

1 Like