Lock drainage pit names

Any questions regarding the practice version are asked and answered here.
Post Reply
Gok Vive
Posts: 1
Joined: Tue Oct 08, 2019 10:08 pm

Lock drainage pit names

Post by Gok Vive »

Hi,

Is there any ways of locking drainage pits for the whole project rather than do it in network editor individually?

thanks
Owen Thornton
Posts: 5781
Joined: Tue Oct 04, 2005 12:50 pm
Location: Brisbane
Contact:

Re: Lock drainage pit names

Post by Owen Thornton »

The name lock is based on the presence of the Integer node attribute "name lock" with a non-zero value (zero means unlocked). I've not tried, but you may be able to apply this to all nodes with the Attribute Manipulator.
Owen Thornton
Posts: 5781
Joined: Tue Oct 04, 2005 12:50 pm
Location: Brisbane
Contact:

Re: Lock drainage pit names

Post by Owen Thornton »

I stopped being lazy and tested it. It works, viz:
apply name lock.png
apply name lock.png (70.32 KiB) Viewed 2097 times
Jack Grinsell
Posts: 26
Joined: Tue Dec 17, 2019 8:14 pm

Re: Lock drainage pit names

Post by Jack Grinsell »

There's also the "Drainage Locks" panel which allows you to lock other things like inverts.

It's found at Water>Water Network>Tools>Set locks

There are also corresponding attributes for these as well that could be used with Owen's method as well. Use the string attributes panel (F8 on standard key bindings) to look for the corresponding attribute to change (e.g. 'lock ds il' locks the downstream invert level in a link/pipe).
Post Reply