Announcement

Collapse
No announcement yet.

Grid Coordinates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sameer valva
    replied
    Row, Col = string.match(Coordinates, "(.*),(.*)")

    Leave a comment:


  • sameer valva
    replied
    Problem Solved

    I used Lua Manual and found Splitting options and this was the one that worked very well.


    Row, Col = string.match(Coordinates, "(.*)-(.*)")

    Leave a comment:


  • sameer valva
    replied
    Originally posted by herrin View Post
    are you still looking for?
    nothing found?


    demo:
    [ATTACH]n307211[/ATTACH]
    Can you help ? or show the solution? or share the project file?

    Or should i continue finding a solution

    Leave a comment:


  • sameer valva
    replied
    Sure I'm still looking for it, is seems you nailed it

    Any chance for the project or the code ?

    Leave a comment:


  • herrin
    replied
    are you still looking for?
    nothing found?


    demo:
    Set Grid Coordinates.rar

    Leave a comment:


  • sameer valva
    replied
    Forgive my bad English, i didn't understand that you want me to do this , i already did it, and i know that this way needs to have an equal number of digits before and after the comma to work.

    I was trying to find a way without adding 0 . Anyway this was so good so far, and i will do the best to find a good way to do it and share it here.

    Thank you herrin

    Leave a comment:


  • herrin
    replied
    obviousness = 01,18

    Leave a comment:


  • sameer valva
    replied
    Originally posted by herrin View Post
    I don't see any problem
    obviousness aside .....
    try to reason you will solve YOUR problem by yourself
    I tried so many solutions and searched the forum before i even asked for the help, im not urging anyone to help, you stepped and gave a nice approach and i appreciate your help and really you helped a lot. This forum was always the saver for me for many years and learned here everything from all of you and still learning.

    Returning back to the problem , if you can see i put (1,18) so it should be inserted in row 1 and column 18, but as you see in the attachments, it was inserted in column 8.

    Leave a comment:


  • herrin
    replied
    I don't see any problem
    obviousness aside .....
    try to reason you will solve YOUR problem by yourself

    Leave a comment:


  • sameer valva
    replied
    I Attached screenshots, hope you can figure where is the problem.

    Thank you so much for your time and for being helpful.
    Attached Files

    Leave a comment:


  • herrin
    replied
    Originally posted by sameer valva View Post
    Another Issue is that your project works for 9x9 grid but if need to go with bigger grid it wont work i guess.
    Is there any way to take all numbers before the comma as the row and take all the numbers after the comma as the column ?
    Thanks is advance

    before stating this, have you tried?

    Click image for larger version

Name:	screen.PNG
Views:	190
Size:	26.0 KB
ID:	307176

    Leave a comment:


  • sameer valva
    replied
    Another Issue is that your project works for 9x9 grid but if need to go with bigger grid it wont work i guess.

    Is there any way to take all numbers before the comma as the row and take all the numbers after the comma as the column ?

    Thanks is advance

    Leave a comment:


  • sameer valva
    replied
    Thank you herrin, i appreciate your great help, i already did something close to your solution Text to Grid_reworked.apz, i will try the second option after i install the needed plugin you used.

    Leave a comment:


  • herrin
    replied
    other UI

    Example.apz

    Leave a comment:


  • herrin
    replied
    Text to Grid_reworked.apz

    Leave a comment:

Working...
X