Message 1 of 13
How to access a text file within a module

Not applicable
02-08-2018
07:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everybody,
This may look very primitive.
In Revit API, I am trying to go through a text file line by line and showing each line to the user within a window, one by one.
I thought the best place for keeping this text file and accessing it would be within the module itself. I created the text file.
Now the problem is how to access this file should I give the full path to the file or there is an easier way to call a simple text file that right in the folder of the module? Look at the picture. It is right there!
Thanks,