I created a Codesys library which I included it in my project. The name of the library is "TC". Whenever I need to access an object from this lib, I have to write "TC.object".
Is there a way to access an object from the lib without using this namespace "TC".
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In your library project select Project -> Project Information. On the Properties table remove the "LanguageModelAttribute" Value "Qualified Access Only".
This will allow you to access the object without qualifying the access.
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created a Codesys library which I included it in my project. The name of the library is "TC". Whenever I need to access an object from this lib, I have to write "TC.object".
Is there a way to access an object from the lib without using this namespace "TC".
Thank you
In your library project select Project -> Project Information. On the Properties table remove the "LanguageModelAttribute" Value "Qualified Access Only".
This will allow you to access the object without qualifying the access.
Thank you, it works