AppDev Posted November 19, 2011 Share Posted November 19, 2011 Hi All, I want to write a Plugin which reads a text file and take two parameters startpoint(x,y) endpoint(x,y) from it and draw a line between these two points. I want to know that is it possible to read a text file programmatically in codelab? Thanx Quote Link to comment Share on other sites More sharing options...
AppDev Posted November 25, 2011 Author Share Posted November 25, 2011 Hi All, I want to write a Plugin which reads a text file and take two parameters startpoint(x,y) endpoint(x,y) from it and draw a line between these two points. I want to know that is it possible to read a text file programmatically in codelab? Thanx Well, i figured it out myself. I am posting this for other newbies like me. The problem was that I was trying to include namespaces in the CodeLab somehow but it is not possible. In CodeLab if you have to use file I/O functionality, you have to declare object like this; System.IO.StreamReader reader. So whatever object you want to declare and if codelab is giving error that "namespace not found" then just write full class name along with required namespaces prefix. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.