Export Motion Results

Export motion analysis results using the Export button on the Run Motion Analysis window.

You can also export plots and other data in CSV format by selecting a plot.

Export the Motion Model

Export the motion model with analysis settings as a MotionView file (.mdl), MotionSolve py file (.py), or nanoFluidX position file (.txt).

Tip: It is good practice to set the preferred model units in the Preferences, and then run the model before exporting.
  1. Hover over the Analyze tool and click the Run Settings icon.

  2. Change the settings in the Run Motion Analysis window as desired.

  3. Choose from the following export options:
    To export to... Do this Note
    MotionView (.mdl)

    The export will include supplemental .x_t and .png files.

    Tip: If a feature is suppressed, it will not be exported with the .mdl file.
    1. Select Export > MotionView > Units Settings, and then select a unit system.
    2. Select Export > MotionView > Export .MDL File.
    3. Choose a directory, enter a file name, and then select Save.
    To launch MotionView and open the Inspire Motion model, select Export > MotionView > Open in MotionView.

    If multiple versions of MotionView are installed, by default the most recent version will be opened. To open an older version, create an environment variable pointing to the HyperWorks installation. For example: HWX_HW_PATH = C:\Program Files\Altair\2022\hwdesktop\hw

    MotionSolve (.py)
    1. Select Export > MotionSolve > Units Settings, and then select a unit system.
    2. Select Export > MotionSolve > Export .PY File.
    3. Choose a directory, enter a file name, and then select Save.
     
    nanoFluidX
    1. Select Export > nanoFluidX > Settings.
    2. A guide bar appears. The Parts selector is active.

      Select one or more parts.
    3. If a system is already defined in the model, the Reference selector becomes active. Designate the reference frame:
      • To use as a custom reference frame, select a system.
      • To use Ground (default), go to the next step.


    4. Click Apply .
    5. In the Run Motion Analysis window, select Export > nanoFluidX > Export Position File.

      A message appears showing the directory where the file is saved.

    Why Export to nanoFluidX?

    nanoFluidX has some limitations with respect to applying rigid body motion to semi-complex systems. This is where the export capability from Inspire Motion can help by providing the output of all components, regardless of the way in which they are constrained. Some examples are a planetary gear system and a drive chain.

Export MotionSolve Plant Models to Activate

When you export to MotionSolve, the MDL file that is saved includes plant model information (MS Plant) for motors and actuators, making it easy to replace built-in PID controller models from Motion with detailed Activate block diagram (1-D) solutions.

The exported MDL creates a plant model representation of any PID controllers contained in your motion model. To provide signals from your actuator/motor to the plant model:

  1. If your motor or actuator has a Controller Type that is set to Soft Constraint in the Property Editor, change it to PID.

  2. Make sure the Provide Signals to Plant option is enabled.
  3. In the Run Motion Analysis window, select Export > MotionSolve > Units Settings, and then select a unit system.
  4. Select Export > MotionSolve > Export .PY File, enter a file name, and then select Save.

Define and Export Input/Output Signals

Define and export Input/Output signals for solving a State Space Eigen analysis in Inspire, or set up a Co-Simulation with Activate (.py file).

Prerequisite: Run a motion analysis.
You can run a motion analysis that produces output signals, then convert those output signals to input signals to use in other controllers or other Inspire applications. The multibody model executes a time step using the input, and then produces the requested output, which is sent to the controller.
Note: Outputs are signals (or channels) that supply information about the behavior of a multibody model to an external controller, such as Activate. Inputs are signals sent from the controller to the multibody model.
  1. Select the Motion Run Settings satelite icon.
    The Run Motion Analysis window appears.
  2. In Run Motion Analysis window, select Export, then Input/Output Signals.
    The Signals Setup window appears.

  3. Define Inputs.
    To Do this
    Add input channels Select the Input tab, then click +.
    Note: Entity types are auto-added based on available entities in the model.
    Edit the Entity Type Select the Entity Type dropdown menu, then choose from the list of available entity types.
    Note: The model design determines the availability of entities.
    Change the Entity Name Select the Entity Name dropdown menu, then choose from the list of available entities.
  4. Define Outputs.
    To Do this
    Add output channels Select the Output tab, then click +.
    Note: Entity types are auto-added based on available entities in the model.
    Edit the Entity Type Select the Entity Type dropdown menu, then choose from the list of available entity types.
    Note: The model design determines the availability of entities.
    Change the Entity Name Select the Entity Name dropdown menu, then choose from the list of entities.
    Change an Entity Type's Component Type Select the Component Type dropdown menu, then select a new component.
  5. Select an Export option.
    To Do this
    Export the signals as a (.py) file to use in Activate Select Active Co-Sim, then Export.
    Use signals to solve an Eigen Analysis in Inspire Select State Space Matricies, then select OK.
    Note: This option is only available if you select to run an Eigen analysis in the Type section of the Run Motion Analysis window.

Export Plots, Images, Loads, and Locations

Export results data such as plots, images, loads and locations in various formats.

Run a motion analysis. When complete, a check icon appears and the Review Motion Results tool is activated.
  1. Select an object to plot in the modeling window or Model Browser.
    The chart will appear.
  2. Right-click on the chart to see a list of what can be exported. (The list of options will change based on the type of entity selected.)
  3. Select what type of data to export.
    • Select Export > CSV to export results to .csv format.
    • Select Export > CSV (Output Steps Only) to export only the output steps to .csv format (when there are motion contacts in the model).
    • Select Export > Image (Page) to export the plot page as a .png.
    • Select Export > Image (Plot) to export the plot chart as a .png.
    • Select Export > Loads on Part to export loads to .csv format. Available for parts only.
    • Select Export > Connection Locations to export locations of part connections to .csv format. Available for parts only.
  4. Right-click to exit the review mode.
Tip:
  • If you make a change to the model that requires running a reanalysis, the check icon disappears, and you will not be able to export plot data until you run another motion analysis.
  • Plot settings on the Run Motion Analysis window must be set to All and Global in order to export loads on parts. Otherwise the Export Loads option is disabled in the plot context menu for the chart.
    Below is an example of a sample .csv file.