@kiknchikn2060, @MegaMax84x I have to agree with @Konrad_K_Sobon and @Thomas_Mahon . I personally want people to learn how I do my scripts as I don’t have time to teach everybody Revit API/Python nor make every script in our company.
I have invested huge amounts of my personal time (all unpaid) learning the Revit API, Dynamo, GH, Unity etc
I do appreciate that not everyone can find that time out of hours, it isn’t easy, but I do not think anyone should actively restrict people that want to expand their knowledge in their own time. Learning should be encouraged and having others learn from you is way more satisfying than a paycheque.
This is the general spirit of this forum and is why it is such a good place for users at any level. Dynamo is itself an open source project, seems strange that we should not follow this pattern of thought in our own development?
However, to answer your question, If you want to write scripts that people can’t access then perhaps write zero touch nodes, extensions or full add-ins into Revit in visual studio. It won’t stop people from stealing the .dll’s, but there are ways of restricting execution to authorised users only. This is one way of protecting company property for instance, but it will be sad times if we have to have licences for any old package.