Create a Motor object type and object instances

Create sample Motor object data to populate the data grid.
  1. In the
    Project view
    pane, right-click
    Model
    and select
    New
    Object
    .
  2. Hover-over the object, select
    Edit
    , and enter
    Motor
    .
  3. Add and configure variables:
    1. In the
      Properties
      pane, at the top, add three variables by selecting
      Add
      and selecting
      Variable
      .
    2. Rename the variables by hovering-over each variable, selecting
      Edit
      , and entering:
      • Speed
      • Acceleration
      • Torque
  4. Convert the Model object into an object type:
    1. In the
      Type view
      pane, double-click
      Model
      .
    2. From the
      Project view
      pane, drag
      Motor
      into the
      Type view
      pane.
  5. Create and organize Motor object instances:
    1. In the
      Project view
      pane, right-click the
      Model
      folder and select
      New
      Folder
      .
    2. Hover-over the folder, select
      Edit
      , and enter
      MotorObjects
      .
    3. In the
      Project view
      pane, drag
      Motor
      into the
      MotorObjects
      folder.
    4. Hover-over
      Motor
      , select
      Edit
      , and enter
      TurbineLeftMotor
      .
    5. Create two Motor object instances by dragging
      MotorType
      from the
      Type view
      pane into the
      MotorObjects
      folder in the
      Project view
      pane.
    6. Rename motors by hovering-over each object, selecting
      Edit
      and entering:
      • TurbineRightMotor
      • TurbineCentralMotor
  6. Configure TurbineLeftMotor:
    1. In the
      Project view
      pane, select
      TurbineLeftMotor
      .
    2. In the
      Properties
      pane, set the following properties values:
      Property
      Value
      Acceleration
      30
      Speed
      20
      Torque
      40
  7. Configure TurbineRightMotor:
    1. In the
      Project view
      pane, select
      TurbineRightMotor
      .
    2. In the
      Properties
      pane, set the following properties values:
      Property
      Value
      Acceleration
      60
      Speed
      50
      Torque
      70
  8. Configure TurbineCentralMotor:
    1. In the
      Project view
      pane, select
      TurbineCentralMotor
      .
    2. In the
      Properties
      pane, set the following properties values:
      Property
      Value
      Acceleration
      90
      Speed
      80
      Torque
      100
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.