Difference between revisions of "UpdateConstruction Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|scripting}}
 
{{command|scripting}}
;UpdateConstruction[]
+
;UpdateConstruction[ ]
 
:Recomputes all objects (random numbers are regenerated). Same as {{KeyCode|F9}} or {{KeyCode|Ctrl+R}}.  
 
:Recomputes all objects (random numbers are regenerated). Same as {{KeyCode|F9}} or {{KeyCode|Ctrl+R}}.  
  
 
{{Note|1=If you want to refresh the view (e.g to remove [[tracing|traces]] from [[Graphics View]]) you can use  <code>[[ZoomIn Command|ZoomIn[1]]]</code> instead, which is the same as {{KeyCode|Ctrl+F}}. You may also need [[SetActiveView Command|SetActiveView[1]]] or [[SetActiveView Command|SetActiveView[2]]] first if you are using two Graphics Views.}}
 
{{Note|1=If you want to refresh the view (e.g to remove [[tracing|traces]] from [[Graphics View]]) you can use  <code>[[ZoomIn Command|ZoomIn[1]]]</code> instead, which is the same as {{KeyCode|Ctrl+F}}. You may also need [[SetActiveView Command|SetActiveView[1]]] or [[SetActiveView Command|SetActiveView[2]]] first if you are using two Graphics Views.}}
 
{{Note|1=If you want to perform this command several times (eg to record several dice throws to the spreadsheet) then you can do <code>Sequence[ UpdateConstruction[ ], k, 1, 10 ]</code>}}
 
{{Note|1=If you want to perform this command several times (eg to record several dice throws to the spreadsheet) then you can do <code>Sequence[ UpdateConstruction[ ], k, 1, 10 ]</code>}}

Revision as of 11:31, 19 April 2013



UpdateConstruction[ ]
Recomputes all objects (random numbers are regenerated). Same as F9 or Ctrl + R.
Note: If you want to refresh the view (e.g to remove traces from Graphics View) you can use ZoomIn[1] instead, which is the same as Ctrl + F. You may also need SetActiveView[1] or SetActiveView[2] first if you are using two Graphics Views.
Note: If you want to perform this command several times (eg to record several dice throws to the spreadsheet) then you can do Sequence[ UpdateConstruction[ ], k, 1, 10 ]
© 2024 International GeoGebra Institute