I just wanted to know if we have any options like locking the scripts from editing or scripts in read only mode ? Because I want to share the scripts to modeler so that he should not change or should not make any changes to it. Do we have any option for locking ?
You could copy all your scripts from your “main” folder to a designated folder for the users. Then if they accidently break/ do something unwanted to the script you can just copy the other “good” script.
I don’t think there is a way directly through Dynamo to lock scripts/ prevent people from editing them.
You could keep your scripts in a read-only folder. Of course, users would still be able to save and modify their own copies, but it at least forces them to make a conscious decision to do so. I’ve found that most people don’t want to modify the graph. They just want it to work. Player is definitely a good way to keep people from even needing to open the dyn.