Update the curve in ui.gui after a vclamp plugin command.
authorW. Trevor King <wking@drexel.edu>
Mon, 2 Aug 2010 13:38:02 +0000 (09:38 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 2 Aug 2010 13:38:02 +0000 (09:38 -0400)
hooke/ui/gui/__init__.py

index 9a685e663e5468d113e209f0f90d3da2288ee512..470b6ec452051a3d8da6fed7f9ee3eb7145a722e 100644 (file)
@@ -419,6 +419,23 @@ class HookeFrame (wx.Frame):
         """\r
         pass\r
 \r
+    def _postprocess_zero_block_surface_contact_point(\r
+        self, command, args={}, results=[]):\r
+        """Update the curve, since the available columns may have changed.\r
+        """\r
+        if isinstance(results[-1], Success):\r
+            self.execute_command(\r
+                command=self._command_by_name('get curve'))\r
\r
+    def _postprocess_add_block_force_array(\r
+        self, command, args={}, results=[]):\r
+        """Update the curve, since the available columns may have changed.\r
+        """\r
+        if isinstance(results[-1], Success):\r
+            self.execute_command(\r
+                command=self._command_by_name('get curve'))\r
+\r
+\r
 \r
     # TODO: cruft\r
 \r