What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Running a complete db3-path

Status
Not open for further replies.

Benninger

Member
Joined
Apr 22, 2010
Messages
457
Reaction score
0
Hi!

At least I managed to write a mini plugin that reads a db3-file (made with "Route Maker") and navigate to a named position:
Code:
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\Plugins\\Path\\test1.db3");
gps.GpsMove("NameOfCoord");

Now a (c#?)-question:
How can I make a loop and run to all coords stored in the db3 file?

Code:
for each xy in z
{
   gps.GpsMove(xy)
} ???
 
Sorry, that was not my question. I know how to move to a coord with a name (see my first post). And your link shows how to move between exactly TWO point, which have to be named.
I want to move along EVERY coord in a db3 file without having named them.
As I wrote this might be a c#-question.
I a looking to something like
Code:
num = Gps.Coord.count
for (i=0; i<num; i++)  {GpsMove(i) }

or
Code:
for each xy in z
{
   gps.GpsMove(xy)
}
 
At this moment - only if you will obtain this points with sqlite requests from .db3 file
 
Okay, thank you Out.
Due to my awesome programming skills... I'll wait until this functions ships with your Core :)
 
Status
Not open for further replies.
Back
Top