Why creating new object in recording process?

Roman Grebenyuk shared this question 2 years ago
Needs Answer

Hello.

I switch on recording function for the object.

GGB creates the object like this - "B1 = "P_{9}"".

After starting animation for slider, GGB makes notes in SpreadSheets (it is OK) and also create objects for each cells on SpeadSheets.

How I can switch off creating objects and save creating notes in cells on SpreadSheets?

Thanks a lot!

GRoman

Comments (13)

photo
1

Each entry in the spreadsheet is an object and therefore appears in the Algebra View.

In other words: objects with the names A1, B1 or A2 etc. are also displayed in the spreadsheet.

Normally objects in the spreadsheet are created by default with the property auxillary.

And also normally the display of auxillary objects is suppressed in Algebra View.

If necessary:

1. Select the corresponding spreadsheet areas, right-click to open the properties and set Auxillariy to ON.

2. Find the option Display Auxilliary in the Algebra View header and set it to OFF

photo
1

Thank you.

Point 2 - is good.

photo
1

One more question.

I have auxilliary variable - P_{9}.

I have Slider - "m", integer, from 0 to 1080. P_{9} depend on "m"

Help me write Script, which write P_{9} value to spreadsheet for each "m", maybe in different coloumn, because number of row in GGB 6.0 have limit.

photo
1

Send the Applet as ggb file.

photo
1

GGB file in attachment.

photo
1

pleas check the result

photo
1

The first qustion;

In "on click" script on the button "Start record" I find

1. SetValue(m,-1)

2. SetValue(B1,{})

3. StartAnimation(m,true)

That does it mean {} - in the second line?

photo
1

I delete data from spredseet's clolumn from D to S and try to repeat calculation.

Press button "Start record" and wait until m=1080 but spreadsheet is empty.

After I press button "move B6...", but spreadsheet is empty again.


May be before next statring I need clear B5 and B6?

photo
1

sorry I have tested without save/restore (after restore B1 is empty)

please test the version C

Note: in GGB5, the speed is significantly better in the spreadsheet.

photo
1

Add one row to script for 1-st button

Delete(D1:N100)

Delete(RecordList_1)

Delete(RecordList_2)

SetValue(m,-1)

SetValue(A4,A3)

SetValue(B1,{})

StartAnimation(m,true)


After adding I cant push button or I push the button, but script not starting. Is it right - "SetValue(A4,A3)"?

photo
1

SetValue(A4,A3) gives no problems at my place.

Maybe: close the Script-Editor (when open the script can't work)

Question: Version C without your change works??????

photo
1

1.If I just push button - yes.

But before start I need place A3 value into the A4 cells.

If I add command to script or change A4 manualy I cant start your script.

2.

I see that for m=0 system count 2,3 or 4 different P9. May you change algorim and take only 1 P9 after changing m?

photo
1

I have implemented the command SetValue(A4,A3) in button1.

The start is now at m=0 (was m=-1 in version C)

The trace now always start at the same position


Please test version D in the attachment.

Please give feedback regarding the version D (without changes)

--------------------------------------------------------------------------

To your point 2)

Sorry, this is too complex for me.

Until now I treated the whole calculation as a black box and I don't want to change that.

© 2023 International GeoGebra Institute