Create a Motor object type and object instances
Create sample Motor object data to populate the data grid.
- In theProject viewpane, right-clickModeland select .
- Hover-over the object, select , and enterMotor.
- Add and configure variables:
- In thePropertiespane, at the top, add three variables by selecting and selectingVariable.
- Rename the variables by hovering-over each variable, selecting , and entering:
- Speed
- Acceleration
- Torque
- Convert the Model object into an object type:
- In theType viewpane, double-clickModel.
- From theProject viewpane, dragMotorinto theType viewpane.
- Create and organize Motor object instances:
- In theProject viewpane, right-click theModelfolder and select .
- Hover-over the folder, select , and enterMotorObjects.
- In theProject viewpane, dragMotorinto theMotorObjectsfolder.
- Hover-overMotor, select , and enterTurbineLeftMotor.
- Create two Motor object instances by draggingMotorTypefrom theType viewpane into theMotorObjectsfolder in theProject viewpane.
- Rename motors by hovering-over each object, selecting and entering:
- TurbineRightMotor
- TurbineCentralMotor
- Configure TurbineLeftMotor:
- In theProject viewpane, selectTurbineLeftMotor.
- In thePropertiespane, set the following properties values:PropertyValueAcceleration30Speed20Torque40
- Configure TurbineRightMotor:
- In theProject viewpane, selectTurbineRightMotor.
- In thePropertiespane, set the following properties values:PropertyValueAcceleration60Speed50Torque70
- Configure TurbineCentralMotor:
- In theProject viewpane, selectTurbineCentralMotor.
- In thePropertiespane, set the following properties values:PropertyValueAcceleration90Speed80Torque100
Fornire un feedback