Bobby,
It's probably going to be next week before I can get back on this but...
If I'm reading this correctly (I struggle with C#, guess I'll have to learn it one of these days ;-) the idea is to create a sub that runs as an event reactor after the function returns to Revit and Revit runs the posted command...
That reactor then goes out of scope upon completion of the function as it was declared within the calling function? Or it would possibly have to remove itself as a reactor... Of course, this is all dependent upon adding that additional CommandEnded Class to my project...
This actually makes me wonder even more about another approach that I was thinking about... possibly a helper class that can submit the revit commands... would Revit be able to run posted commands upon completion of the helper class but while still within the calling function???
Something to look into when I can get back into it.
Thanks for the suggestion.
-G
It's probably going to be next week before I can get back on this but...
If I'm reading this correctly (I struggle with C#, guess I'll have to learn it one of these days ;-) the idea is to create a sub that runs as an event reactor after the function returns to Revit and Revit runs the posted command...
That reactor then goes out of scope upon completion of the function as it was declared within the calling function? Or it would possibly have to remove itself as a reactor... Of course, this is all dependent upon adding that additional CommandEnded Class to my project...
This actually makes me wonder even more about another approach that I was thinking about... possibly a helper class that can submit the revit commands... would Revit be able to run posted commands upon completion of the helper class but while still within the calling function???
Something to look into when I can get back into it.
Thanks for the suggestion.
-G