Global

Members

data :data

Source:
Type:

Methods

action(method)

Description:
  • Completes the action as selected by the button pressing by the user
Source:
Parameters:
Name Type Description
method string the action being completed by the user. Valid options are Only, Highlight or GLB

find_entry_model_list() → {Array}

Source:
Returns:
entryModelList Finds out the models that have been selected by the user after a button press by searching through the selected WidgetItems and putting them into an array
Type
Array

find_window_number_for_model()

Description:
  • When looping through the models that have been selected after selecting entries, then fiund the window number for the stated model_id
Source:

GLB()

Description:
  • GLB Export the selected entities when export button is pressed in GLB edit window
Source:

GLB_cancel()

Description:
  • Closes GLB Export options window when cancel is pressed
Source:

GLB_dir()

Description:
  • When the file selector button is pressed in GLB edit window, to select the location to save the GLB Exports to
Source:

GLB_edit()

Description:
  • Opens window to set GLB Export options
Source:

GLB_output_change()

Description:
  • When the GLB output is changed between Current Frame and Animation, enable Frame Rate option for Animation
Source:

highlight()

Description:
  • Highlight the selected entities
Source:

only()

Description:
  • Only the selected entities
Source:

reset() → {Boolean}

Description:
  • Resets the model back to default ready for the new action (button press) to commence and checks that an entry is selected
Source:
Returns:
true if entities are selected, false if not
Type
Boolean

reset_button()

Description:
  • Resets the model back to default, a button that can be pressed by the user
Source:

set_up()

Description:
  • Sets up the window with callback functions from the GUI, fills the WidgetItems for the listbox based on JSON data, checks there are just 1 model per window and sets current model
Source:

update_buttons()

Description:
  • Enables and Disables the buttons on the window according to how many widgetItems are selected
Source:

update_export_button()

Description:
  • Enables and disables the GLB export button depending on a correct directory or not
Source:

workflow_manual()

Description:
  • Opens up the clickhelp manual when the help button is pressed
Source:

Type Definitions

data

Description:
  • The data object in the workflow file
Source:
Properties:
Name Type Description
entities_of_interest Array.<EntityOfInterest>
The data object in the workflow file
Type:
  • Object

EntityOfInterest

Source:
Properties:
Name Type Description
name string
parts Array.<string>
type String
partsOfEntity Array.<String>
Type:
  • Object