Hi again,
Don't worry about the delay, I was thinking that you are busy or maybe in
vacation. As for the problem that you had, I am glad that the solution
worked and you are happy.
Talking about #3 comment, I see no problem here and there are no new
variables to deal with. As you can see in the attached file, the new
Action_Tile_TileName functions are defined in the same file where the
action_tile code was originally placed and the variables are the same as in
the original file and at the same place, i.e. in the main function, which is
at the bottom of the file. Even though they are global for the new
functions, they are local for the main function as they were initially.
I believe that the attached example is self explanatory and I think you will
have no problem to adapt your programming style to this way of doing things.
And I am convinced that in the long run you will see that is much easier to
read, to flowchart, to maintain and to debug your code. Should you have any
other question, don't hesitate, just shoot 🙂
Good luck,
Constantin
a écrit dans le message de news:
5271140@discussion.autodesk.com...
Hi Gherasim and thank you very much for your great help.
First of all, sorry not to reply on your answer before. I have been tied up
with something else. I agree in all your comments and I send you a big
thanks for all your good advices. Best of all, your suggestion worked just
fine.
I have some further question about #3 comment. I wonder where you place your
code for each action_tile functions? Inside the function that control the
dialog box? As you see I have a lot of variables that I need to bring with
me into the function and I want to have as few as possible of global
variables to deal with.
\Freddy