Index: dsn.c =================================================================== --- dsn.c (revision 15655) +++ dsn.c (revision 15656) @@ -45,6 +45,8 @@ #include "hid.h" #include "plugins.h" +#include "src_plugins/lib_compat_help/pstk_compat.h" + static const char *dsn_cookie = "dsn importer"; typedef enum { @@ -162,7 +164,10 @@ return; } - pcb_via_new(PCB->Data, x, PCB->MaxHeight - y, dia, clear, 0, drill, 0, pcb_flag_make(PCB_FLAG_AUTO)); + { + pcb_pstk_t *ps = pcb_pstk_new_compat_via(PCB->Data, x, PCB->MaxHeight - y, drill, dia, clear, 0, PCB_PSTK_COMPAT_ROUND, 1); + PCB_FLAG_SET(PCB_FLAG_AUTO, ps); + } } static const char load_dsn_syntax[] = "LoadDsnFrom(filename)"; Index: import_dsn.pup =================================================================== --- import_dsn.pup (revision 15655) +++ import_dsn.pup (revision 15656) @@ -6,4 +6,5 @@ $fmt-feature-r import wires and vias from specctra .dsn $package auto default buildin +dep lib_compat_help autoload 1