File missing error

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

This topic contains 2 replies, has 2 voices, and was last updated by  Jeroen de Bruin 7 months, 2 weeks 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

You must be logged in to reply to this topic.