File missing error

Home Forums Problems and solutions in GDL GDL add-ons File missing error

Tagged: ,

This topic contains 4 replies, has 4 voices, and was last updated by  Péter Baksa 1 week, 4 days ago.

  • Author
    Posts
  • #3168

    Jeroen de Bruin
    Participant

    If have a channel to open a text-file.

    Channel=open(“TEXT”, “Zonestempel Plafondafwerkingen.txt”, “SEPARATOR=’\t’, mode=ro, Library”)

    This file is optional, so when it is not loaded, it is fine too. However, the report shows an error that this file is missing. How can I make ARCHICAD stop reporting this missing file?

    Jeroen de Bruin

  • #3169

    Gergely Fehér
    Keymaster

    You should not try to read a non-existing file… In this situation you’ll always get a message that the file does not exist.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • #3172

    Jeroen de Bruin
    Participant

    Is there a way to check if the file exists?

    Jeroen de Bruin

  • #18349

    James Goode
    Participant

    Hi,

    I am using AC23 and I would like to know if there is a way to check if the file is loaded in the library or not so that I cant prevent any errors from occurring.

    Thanks

  • #18350

    Péter Baksa
    Participant

    You could try to search for the file with the FileMan add-on (if it’s on disk, not in the loaded libraries).

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

You must be logged in to reply to this topic.