File missing error

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

Tagged: ,

Viewing 4 reply threads
  • 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
      Keymaster

      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
      Library Platform, Software Engineer
      GRAPHISOFT SE

Viewing 4 reply threads
  • The forum ‘GDL add-ons’ is closed to new topics and replies.