macros:example:reverseallshapes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:reverseallshapes [2020/03/01 09:40] icke_siegenmacros:example:reverseallshapes [2021/06/10 19:07] (current) – [Shapes - Reverse All Shapes] icke_siegen
Line 10: Line 10:
 {{tag>shape reverse circle}} {{tag>shape reverse circle}}
  
 +**From Titan v15 on ClearAll() requires two parameters, see [[macros:function:programmer.editor.clearall|]].\\ Simply change the relevant line(s) to ''Programmer.Editor.ClearAll(false, false)''.**
 ==== functions ==== ==== functions ====
   * [[:macros:function:Editor.Shapes.ConnectShapesList]]   * [[:macros:function:Editor.Shapes.ConnectShapesList]]
Line 51: Line 52:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+  * ''Editor.Shapes.ConnectShapesList()'' lists and highlights all running shapes 
 +  * ''Editor.Shapes.SelectAllShapes()'' selects all shapes from the programmer if there are any 
 +  * ''Editor.Shapes.EditingPlaybackShapes'' flag is set if there are any shape being edited 
 +  * ''Editor.Shapes.Reverse()'' actually reverses all shapes currently being edited 
 +  * ''Programmer.Editor.ClearAll()'' finally clears programmer and editor
  
 ===== How to use it ===== ===== How to use it =====
  
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
- +  - e.g. fire a playback with a shape 
-tbd+  - fire this macro - the running shape will be inverted and runs in the other direction
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/reverseallshapes.1583055634.txt.gz · Last modified: 2020/03/01 09:40 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki