You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized that when I inherit my command from ExternalCommand, it can no longer get value from static variables or settings. I think it's because the add-in was loaded from another assembly. Is there any other way to approach this problem?
The text was updated successfully, but these errors were encountered:
@ThanhPhanz You can use static variables, but they must all be used within the same context, i.e. all commands must inherit from ExternalCommand and the application from ExternalApplication. If you initialize the settings in IExternalApplication it won't work, ricaun showed this here https://www.youtube.com/watch?v=cpy4J_6-8WY
I realized that when I inherit my command from ExternalCommand, it can no longer get value from static variables or settings. I think it's because the add-in was loaded from another assembly. Is there any other way to approach this problem?
The text was updated successfully, but these errors were encountered: