View Single Post
  #6  
Old 07-14-2015
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1169
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

You can't put a path into the 2nd parameter of setvarnum(). setvarnum() only works with the top level of variables. If your variables are multidimensional, you need to reference them another way. Such as:

Code:
set( node("AGVNetwork>variables/agvTypes/DefaultAGV/speeds/Acceleration/Loaded",model() ),aceleracao);
Reply With Quote
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post:
Jörg Vogel (07-14-2015), sagar bolisetti (07-15-2015), Sebastian Hemmann (02-27-2016)