Adding Object Properties and Modifying Timings
		simulation training & tutorials
		Author: CreateASoft Inc./Tuesday, May 27, 2014/Categories: Advanced Modeling and Connectivity
		
		
		
		
		
		
		
		
			
 - First create:
 
  - A Start Process, 'Start'
 
  - A Generic Process, 'Process'
 
  - An End Process, 'End'
 
 
  
 - Use the Interprocess Connection tool to connect:
 
  - 'Start' to 'Process' and to 'End'
 
 
  
 - Switch to the Flow Properties tab
 
  - Select Additional Properties Definition
  
   - Now change the Context Parameter to Object
 
   - Create three new parameters:
   • 'Obj_Property1' – Integer
   • 'Obj_Property2' – Integer
   • 'Obj_PartNumber' - String 
  
   
 
  
 - Select 'Start'
 
  - So into Define Object Creation Rules
  
   - Switch to the Work Order tab
   
    - Create two Object Types
    
     - Both Default Object
 
     - Set Min/Max for both to 1/1
 
     - For the top line set Obj_Property1 to '1' and Obj_Property2 to '2' and Obj_PartNumber to 'Test1'
 
     - For the second line set Obj_Property1 to '3' and Obj_Property2 to '3' and Obj_PartNumber to 'Test2'
 
    
     
   
    
   - Switch back to the Object Selection tab
   
    - Switch to Create Objects Based on Work Order
 
   
    
  
   
 
  
 - Next select 'Process' and Customize
 
  - Go into process Extensions
  
   - Under ObjectActivated
   
    - Click Insert Line
    
     - Make it an Expression Action and Edit -
     
      - Select ObjectTime from the left O
 
      - On the right enter - ObjectTime * Obj_Property1
 
     
      
    
     
   
    
  
   
 
  
 - Switch back to the Model Build tab
 
  - Go into Objects and Containment
  
   - Here check Enable Object Hover Handling
 
   - Click Define Object PopUp
   
    - Create three PopUps:
 
    - PartNumber - Obj_PartNumber - String
 
    - Property1 - Obj_Property1 - Integer
 
    - Property2 - Obj_Property2 - Integer
 
   
    
  
   
 
  
 - On the Simulation tab select Start, pause the model after the objects are created and hover the mouse cursor over each object to view the Object Parameters of each.