API Help
EPLAN API / API Reference / Actions / XSettingsImport
In This Topic
    XSettingsImport
    In This Topic
     Imports project-, station-, company- or user-settings from a xml-file.
     
    

    Parameter Description
    XmlFile
     full name of a xml-file. If the param is empty a file selection dialog will appere to choose a xml-file
    
    Node
     node of settings to import
    
    Project
     fullname of the target project
    
    Option
     option to control import :
     INSERT ( insert only, if not already exist ),
     OVERWRITE ( overwrite values and definitions ),
     UPDATE ( actualize only the values )
     
    

    Example
             Imports all station-, company- and user-settings from given xml-file:
       
       XSettingsImport /XmlFile:c:\file.xml
       
    

             Imports only the node from given xml-file:
       
       XSettingsImport /XmlFile:c:\file.xml /Node:User.XSbGui.CustomSymbols
       
    

       Imports project-settings to target project from given xml-file:
       
       XSettingsImport /XmlFile:c:\my_project.xml /Project:c:\...\ESS_Sample_Project.elk
       
    

       Imports only the project-setting-node to target project from given xml-file:
       
       XSettingsImport /XmlFile:c:\my_project.xml /Project:c:\...\ESS_Sample_Project.elk /Node:XSbGui.CustomSymbols