NXOpen.UF.Plot.AddJobToPlotLayout

Plot.AddJobToPlotLayout()

Refer to UF_PLOT_add_job_to_plot_layout for documentation.

Signature: AddJobToPlotLayout(drawingSheet, jobOptions, jobName, units, origin, rotation, scale)

Parameters:
  • drawingSheet (Tag) – Tag of drawing sheet. If thisis NULL_TAG, the current display is being plotted.
  • jobOptions (NXOpen.UF.Plot.JobOptions Refer to UF_PLOT_job_options_s for documentation.) – Specifies plot job options.If NULL, current session job options are used instead. If non-NULL, call UF_PLOT_ask_default_job_options or UF_PLOT_ask_session_job_options to initialize the structure before setting structure fields. Current session job options are not modified by structure values.
  • jobName (str) – Name of the job
  • units (NXOpen.UF.Plot.Units Refer to UF_PLOT_units_e for documentation.) – Units used to define the plot originand extents.
  • origin (list of float) – The location of the plot originexpressed in the specified units.
  • rotation (NXOpen.UF.Plot.Rotation Refer to UF_PLOT_rotation_e for documentation.) – Defines the orientation of theplot in the plot layout.
  • scale (float) – Defines the scale of the plot inthe plot layout.
Returns:

If non-NULL the rectangular bounds ofthe plot in the layout (the coordinates of the lower-left and the upper-right corners of the plot in millimeters or inches as indicated by the units parameter) are returned.

Return type:

NXOpen.UF.Plot.Extents Refer to UF_PLOT_extents_s for documentation.

License requirements: None