In some cases, we need to lock graph node or graph segment from being edited where editing means: attribute changes or geometrical changes
ce.setLocked( graphNodeObj, ATTRIBUTE|GEOMETRY)
ce.setLocked( list_of_graph_nodes, ATTRIBUTE|GEOMETRY)
ce.setLocked( list_of_graph_segments, ATTRIBUTE|GEOMETRY)
ce.setLocked( list_of_graph_nodes_and_graph_segments, ATTRIBUTE|GEOMETRY)
ce.setUnlocked( graphNodeObj, ATTRIBUTE|GEOMETRY)
ce.setUnlocked( list_of_graph_nodes, ATTRIBUTE|GEOMETRY)
ce.setUnlocked( list_of_graph_segments, ATTRIBUTE|GEOMETRY)
ce.setUnlocked( list_of_graph_nodes_and_graph_segments, ATTRIBUTE|GEOMETRY)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.