create#
- shock.create() int #
Create a shock part with the currently defined attributes using the currently selected 3D part(s).
- Examples:
# # Specify the 3D parent part(s) # from which to create the shock part # ensight.part.select_begin(1) # # Compute the shock part by the Surface method # ensight.shock.begin() ensight.shock.variable("Pressure") ensight.shock.end() ensight.shock.create() # # Now select the newly created shock part # for subsequent operations # ensight.part.select_begin(5)
- Returns:
zero on success, non-zero on error