1. #1
    New Member Follow User Gallery
    Join Date
    Jan 2018
    Location
    Poland
    Posts
    12

    Question Loop in Macro

    Hello.


    I spent much time to find answer for my question without result How to create loop in my recorded Macro. Precisely.....


    I recorded new macro with one action UnCreaseAll. How to make a loop to play this action for every subtool ?

  2. #2
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,043

    Default

    Here you are:

    [IButton,???,"Uncrease All for all subtools",
    [IShowActions,0]
    [IConfig,4.8]
    [VarSet,activST,[SubToolGetActiveIndex]]//store active subtool
    [Loop,[SubToolGetCount],//loop through all subtools
    [SubToolSelect,[Val,n]]
    //put code below for each subtool
    [IPress,Tool:Geometry:UnCreaseAll]

    ,n]//end loop
    [SubToolSelect,activST]//reselect active subtool

    ]//end of macro

  3. #3
    New Member Follow User Gallery
    Join Date
    Jan 2018
    Location
    Poland
    Posts
    12

    Default

    Ohhh thank you mate!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •