Aldrin Almia:
I would like to add code when it scan the line and line string elements then it will change its color, like if the color of line and line string is red, i'll change it to color green to see the output.
It's well and clearly fomulated target and as such should be used to formulate a new post, because this thread was about working mke file (which you have now).
Aldrin Almia:
Sir, if you have a source code for it, please post.
No, I have no such piece of the code. And, as is discussed here from time to time, the forum is not a place to ask somebody else for the code, but to increase own knowledge discussing problems and reading discussions of others. If anybody is willing to share own piece of code, perfect, but it would be done based on own decision, not on request from another person.
My advice is (and I apologize if it sounds unfriendly, it's not ment to be): You are a programmer, so you are responsible to write your own code, not anybody else. You have working project (HelloWorld and SDK examples) with .mke file, you have example how to scan file, so what you need now is to learn C well (not MDL) and to study what you already have (SDK examples). If you will encounter any problem, ask for this particular problem and try to limit the discussed area as much as possible. I am sure such approach will bring you more response from other community member, because it's much easier to answer a question like "How to set an element color if I use mdlLine_create function?" then to "if you have a source code for it, please post. "
We all do it in our free time and for free, so we incline to choose and answer what is simple for us ;-)
With regards,
Jan