Importing include files

Udhay Rohith
Udhay Rohith Altair Community Member
edited October 2020 in Community Q&A

Hello all,

 

I have exported the include files by using export file directory option in hyper mesh(Master file is in separate folder and include files in separate folder).

 

But when I importing the file the error message is showing like 'can't open include file'(see attached pic for reference).

 

Is there any way to import these include files with referred location without error message in hyper mesh ?

 

<?xml version="1.0" encoding="UTF-8"?>Capture.JPG

Tagged:

Answers

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited December 2015

    Hi,

    Could you share us some more information like Hyperworks version ,Updates info & user profile?

     

    Regards

    Rahul R

  • Udhay Rohith
    Udhay Rohith Altair Community Member
    edited December 2015

    Hello Rahul,

     

    I have used include path option(refer image) to save include files in separate folder ( HyperMesh 13.0 - LS Dyna).

     

    But when importing the master file it is showing above mentioned error.

    <?xml version="1.0" encoding="UTF-8"?>nw.JPG

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited November 2020

    Requesting you to use the latest Hyperworks desktop 13.0.114 hotfix (Latest patch).I see many resolved issue in the list of LS dyna interface for similar case.

    Please see attached release notes of the latest patch.

     

    Regards

    Rahul R

     

    Unable to find an attachment - read this blog

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited January 2016

    In general

     

    1. INCLUDE commands may be placed at any location in the input file, but must include information appropriate to that location. 2. Names specified on the INCLUDE card can be arbitrary file names with optional paths appropriate to the operating system (Windows or UNIX). They may be enclosed in quotes (double or single quotes can be used), and either forward slash (/) or back slash (\) characters can be used to separate parts of the path name. The following rules are used to locate a file referenced on the INCLUDE card: • When the argument contains the absolute path of the file (if it starts with '/' on UNIX or a drive letter, such as 'D:', on Windows, for example), the file at the given location is used. • When only the file prefix is given (without the path), the file has to be located in the same directory as the file containing the INCLUDE command. • When the argument contains a relative path (../filename or sub/filename, for example), it is located in the directory relative to the file containing the INCLUDE command and is NOT relative to the directory in which the solver was executed, or to the directory where the main file is located.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2019

    Hello Sir,

    I am facing issue in understaning the optin of 'preserve' and 'merge' while exporting and importing the include msater file.Kindly explain.