Add HatchPatterns as Reference to RhinoDoc

Does anyone know how I can add HatchPatterns to the ActiveDoc as Reference with ghpython? It should be similar to this method
wherein the Linetypes are not saved in the file and cannot be edited


Why do you need this?

– Dale

Hi Dale,
I was thinking of restricting the access of the user to the HatchPatterns since they’re meant to be templates. Some kind of locking would also do I guess

Thank you