- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is probably going to sound like a dumb question to the computer science experts but i have been wondering this for a while. Apologies if its not specific enough to be on the Autodesk forum.
When you have a module that does some work and you need to launch a userform to make some selections, do you pass those varibles back into the module to continue doing work or do you execute the work under the 'commandbutton_click'?
If you pass them back to the module, how do you achieve this? Global Variables or can you just address them directly in the module? Pro's/cons?
I have always done this under the commandbutton click event because i didnt know any better but i find it fragments the steps of the workflow and i think i could keep better track of what going in if i could retrieve the form variables from within the module.
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
Solved! Go to Solution.