select_default#
- ptrace.select_default() int #
Sets the currently selected particle trace parts to none, so any following attribute modifications will change the particle trace defaults.
When particle trace parts are created, the defaults, and any “ptrace:” attribute commands between “ptrace: begin” and “ptrace: end”, are used in the creation.- Examples:
# # Setting to default particle traces # ensight.ptrace.select_default() # # modifying some attributes # ensight.part.modify_begin() ensight.ptrace.variable("VITESSE") ensight.ptrace.type("pathline") ensight.part.modify_end()
- Returns:
zero on success, non-zero on error