I am trying to import multiple layers thrrough following ruby script, but it is not able to generate the layers,
FYI:
i have given "nil" for no configuration file for automapping
Code:
nw = WSApplication.current_network
badger =Hash.new
badger['Duplicate Behaviour'] = 'Replace'
base_path = "C:\Users\Tabs" #file paths
tab_file1 = "#{base_path}\SEWERS_PROJ.tab"
tab_file2 = "#{base_path}\MANHOLES.tab"
nw.odic_import_ex('TAB', nil , badger, 'Conduit', tab_file1)
nw.odic_import_ex('TAB', nil , badger, 'Node', tab_file2)
Can i know how to import it correctly