コード例 #1
0
def start_trace(CaptureAllProperties=False, UseGuiName=False, Verbose=False):
    clear_trace()
    add_observers()
    trace_globals.active_source_at_start = simple.GetActiveSource()
    trace_globals.active_view_at_start = simple.GetActiveView()
    trace_globals.capture_all_properties = CaptureAllProperties
    trace_globals.use_gui_name = UseGuiName
    trace_globals.verbose = Verbose
コード例 #2
0
ファイル: smtrace.py プロジェクト: thomasflyvholm/ParaView
def start_trace(**kwargs):
  clear_trace()
  add_observers()
  trace_globals.active_source_at_start = simple.GetActiveSource()
  trace_globals.active_view_at_start = simple.GetActiveView()
  trace_globals.capture_all_properties = kwargs.get("CaptureAllProperties", False)
  trace_globals.capture_modified_properties = kwargs.get("CaptureModifiedProperties", False)
  trace_globals.use_gui_name = kwargs.get("UseGuiName", False)
  trace_globals.verbose = kwargs.get("Verbose", False)