![]() Views other than 3D render view (also have not tested MPI render view).Here is a list of things that do not currently work: It is possible to perform actions in the GUI that do not translate properly to Trace. Control over the verbosity level is not currently available in the GUI, but you can start trace manually in verbose mode using the Python shell: Normally, trace only records properties when they are modified from their default values. In full property verbose mode, trace records all properties of a proxy when the proxy is registered. Trace can run with different verbose levels. It might be a nice feature to provide the user with a way to specify property suppressions. For example, every time a data representation is created, seven or eight properties related to selection are modified. Also, see the CaptureAllProperties flag in the Trace Verbosity section below.īecause of the way the GUI initializes certain proxies, some parts of the trace will be more verbose than others. For best results, start trace before performing any other actions. If you have initialized a render view or a color lookup table prior to starting trace then the generated trace script may not perfectly reflect the state of the view or lookup table. TIP: Trace only records property values as they are modified. This will clear the current pipeline objects, stop trace, and reset the Python interpreter. You can click the Disconnect Server button in the ParaView toolbar. TIP: It's a good idea to stop trace before executing a trace script you just recorded. Save trace- Opens a prompt for the user to specify a file name and saves trace to disk.Edit trace- Opens the built in editor, creates a new document, and fills it with the current trace output.Some internal trace data structures hold references to C++ objects, so if you want to make sure everything is cleaned up try resetting the shell. The trace output generated so far will not be cleared until trace is started again or the Python shell is reset. If an active trace was previously started, it will be stopped, cleared, and restarted. The trace menu items provides everything for controlling trace: It can be imported with "from paraview import smtrace," but normally the user never needs to directly use the trace module. Trace as been introduced in ParaView 3.6.2 as a new module. You should see a wait cursor while Python is initializing.ĬAUTION: If this section is not relevant for your ParaView version, please read the previous version of that page in history. If you run a macro from the macro toolbar or menu before the Python shell has been opened for the first time, you will notice a slight delay as Python initializes itself. Note: Python is not initialized until you open the Python shell for the first time. The macros toolbar can be shown/hidden from the ParaView main menu: View|Toolbars|Macro Toolbar. Macros are displayed in the macros menu and the macros toolbar. ![]() Note: if you want to rename a macro, rename the file in one of the given directory.ĭeleted macros DO NOT delete the files, but just rename them with a "." before the original file name and the file stays in the same directory. The macros list is built dynamically at the ParaView start-up by listing the content of the ParaView/Macros directory, the user specific ParaView/Macros directory, and the additional directories defined by the user in the environment variable PV_MACRO_PATH. Therefore, if you keep editing the original file, the changes won't affect the macro itself. ![]() No reference is kept to the original file. Once a local file is defined as a macro (by clicking-on Create New Macro) the given file is copied inside the user specific ParaView directory. Macros allow the user to define a Python script as built-in actions that become accessible from the Macros menu or directly inside the Toolbar. To save the state as a Python script, go to the File menu and choose Save State without forgetting to switch the file type to be Python *.py. The management of macros is done inside the Macros menu. Those features can be reached from the Tools menu for the Shell and Trace access. If ParaView has been compiled with the Python wrapping, some advanced features become available to the user such as: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |