question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Patrick Cloutier commented

Display error for Forklift load in version 23.0.1

I have a model of a storage system that I built in 2021, which has a very simple (3D controlled) forklift move at the end.

I recently pulled the model up to make some updates and converted it to version 23.0.1

The forklift picks up the pallet and now displays it in mid-air as it carries it:

1675283136438.png


This was not happening before, and the changes I made were not with the forklift movements.

Is there some parameter change that I need to update? (I know how to change the pallet position manually, but it should not be needed.)

I am not posting the model since it is confidential, but I can send it to the dev team if you need it.

Thanks

FlexSim 23.0.1
displayforklift load
1675283136438.png (68.8 KiB)
· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Patrick Cloutier commented

The Transporter's 23.0 model update script didn't account for model units.

You can fix it by running this script:

  1. forobjecttreeunder(model()){
  2. treenode obj = a;
  3. if (isclasstype(obj,"Transporter")) {
  4. treenode usedefaultzoffset = obj.find(">variables/forkinitialheight/usedefaultzoffset");
  5. if (get(usedefaultzoffset)) {
  6. Object Forks = obj.find(">visual/drawsurrogate/Truck/Forks");
  7. Object DrawContents = Forks.find("/DrawContents");
  8. DrawContents.location.x = -Forks.location.x;
  9. DrawContents.location.y = -Forks.location.y;
  10. }
  11. }
  12. }
· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.