Hi Peter,
many thanks this helped me a lot already but I still get some errors.
I would like to do it not only once but 10 times. I try to fetch
latitude and longitude from table "KPI_with_coord_rw" and use these
for the Poly line.
Then rotate it and Update the table.
This is exactely what I try to do:
For lauf_variable = 1 to 10 ' 10 iterations
Fetch Rec lauf_variable from KPI_with_coord_rw ' select a row,
next time the next row will be selected
lat_variable = KPI_with_coord_rw.Lat_dec ' write
latitude in variable
long_variable = KPI_with_coord_rw.Long_dec ' write
longitude in variable
ankerpunkt_variable = CreatePoint( lat_variable, long_variable ) '
write anchor point into one variable
Create Pline
4 ( lat_variable, long_variable ) ( lat_variable + 0.2,
long_variable + 0.05 ) ( lat_variable + 0.2, long_variable - 0.05 )
( lat_variable, long_variable ) ' Create Poly line
Update KPI_with_coord_rw
Set OBJ = rotateatpoint(obj, 60, ankerpunkt_variable) '
here I wanted to update the table with the new rotate Poly line... I
think this is not like it should be
Next
Unfortunately I always get this message: Rotateatpoint: Could not
fetch Object from the current row, argument 1.
Maybe I should write the rotate Polyline to different table and
display this one?
Many thanks
Thomas