cadnano.setpropertycmd module¶
-
class
SetPropertyCommand(objs: Iterable, key: str, value: Any)¶ Bases:
cadnano.undocommand.UndoCommandUndo ready command for setting an object property Can be used by any objects implementing
getProperty()and_setProperty()Parameters: - objs (list) – iterable of objects
- key (str) – property key
- value (any) – new value
-
redo()¶
-
undo()¶
-
class
SetVHPropertyCommand(part, id_nums, keys, values, safe)¶ Bases:
cadnano.undocommand.UndoCommandUndo ready command for setting an VirtualHelix for a part
Parameters: - part (NucleicAcidPart) –
- id_nums (list) – iterable of objects
- key (str) – property key
- value (any) – new value
-
redo()¶
-
undo()¶
