Gravity FlowRack is not displayed properly

Gravity FlowRack is not displayed properly

tsuji_ryusuke
Observer Observer
8 Views
13 Replies
Message 1 of 14

Gravity FlowRack is not displayed properly

tsuji_ryusuke
Observer
Observer

[ FlexSim 22.0.16 ]

Hi,

A customer of mine reported that the GravityFlowRack was not displaying correctly.

The version the customer is using is FlexSim 2022.0.11.

When placed by dragging and dropping from the library, it will be displayed in the following state.

image012.png

When I had the customer confirm it, it seems that there is no problem with the setting of tree information and reference data.

image002.pngimage006.png

If reinstall the FlexSim version to 2022.0.8, it will be displayed normally, but if change it back to 2022.0.11, the problem will be reproduced.


Any probable cause and possible workaround?

Thanks in advance.


0 Likes
Accepted solutions (1)
9 Views
13 Replies
Replies (13)
Message 2 of 14

jason_lightfootVL7B4
Autodesk
Autodesk

It maybe be a localization issue as on my installation I don't see a problem in 22.0.16. If there was an issue in 22.0.11 then it may have been fixed in a later version?

0 Likes
Message 3 of 14

Jeanette_Fullmer
Community Manager
Community Manager

I can also confirm on 22.0.15 that I do not see an issue. Im not sure in which bug fix this would have been corrected. In 22.0.15 it is mentioned in the release notes that "Fixed removing an object's On Pre Draw trigger." I am not sure if that is the cause.

I believe the workaround for your client is to have them upgrade their Software to the latest which is 22.0.16.

0 Likes
Message 4 of 14

jason_lightfootVL7B4
Autodesk
Autodesk

Does it display correctly in the storage system visualization GUI?

1685984027392.png


0 Likes
Message 5 of 14

tsuji_ryusuke
Observer
Observer

Confirmed with the customer.

The storage system visualization GUI is displaying correctly.


I have one more piece of information.

When the data created with Ver22.0.8 is opened with ver22.0.11, it is displayed normally, and even if it is newly placed from the library, it is displayed normally.

However, if you create a new one and place it from the library, it will not be displayed properly.


I hope you find these information useful.

0 Likes
Message 6 of 14

Jeanette_Fullmer
Community Manager
Community Manager
Hello @Ryusuke T,

Thank you. We still think that upgrading the software will be the solution for them considering we cannot replicate it in 22.0.16

0 Likes
Message 7 of 14

jason_lightfootVL7B4
Autodesk
Autodesk

I have been unable to repeat this in version 22.0.11 either - a new rack draws correctly.

0 Likes
Message 8 of 14

tsuji_ryusuke
Observer
Observer

We would like to inform you that we have found the steps to reproduce this issue.

I have found that this problem can be reproduced if the length unit is set to millimeters in the model units. This problem occurs not only on gravity flow racks, but also on regular racks.

However, this problem occurs with FlexSimJapanese2022.0.11 or later. It does not occur in FlexSimJapanese2022.0.8 or earlier and the English version.


thank you.

0 Likes
Message 9 of 14

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

There are 2 things going on here:

1. Rack visualizations are not being properly scaled to other model units in a localized FlexSim. So rack objects won't draw correctly in model units other than meters. We'd have to update the localization file and make a new Japanese build to get this working.

2. The Gravity Flow Rack doesn't draw correctly (even in meters) because the localization file translated Gravity Flow Rollers incorrectly. You can fix this in the model though by changing the name of the top グラビティフローラック visualization to グラビティフローローラー. (This issue is already fixed in FlexSim Japanese 23.0.8)

1687453493770.png



Matthew Gillespie
FlexSim Software Developer

Message 10 of 14

tsuji_ryusuke
Observer
Observer

@Matthew Gillespie ,

I was able to confirm that it was displayed normally when I placed it newly in the English version. However, if you open the model created and saved in the Japanese version with the problem in the English version, the problem will occur. Is there a way to fix it from this state?

0 Likes
Message 11 of 14

Matthew_Gillespie
Autodesk
Autodesk
We've fixed the issue on our end. We can build a FlexSimJapanese_23.0.9 installer that has this fix


Matthew Gillespie
FlexSim Software Developer

Message 12 of 14

tsuji_ryusuke
Observer
Observer

@Matthew Gillespie ,

Please let me confirm two points.

・Will the model data saved in a state where it was not displayed correctly be displayed normally if it was a version built to 23.0.9?

・Is there any other way to fix this than doing a build? For example, make corrections from tree information, etc.

I'm worried that I can restore a model that was saved incorrectly.

sample.fsm

0 Likes
Message 13 of 14

Matthew_Gillespie
Autodesk
Autodesk

@Ryusuke T

A model saved with the incorrectly scaled visualization elements won't be fixed by opening it in 23.0.9.

You can fix the model by changing values in the tree. The Storage System's visualization elements have various length and position values that are not scaled correctly to be in millimeters. If you were to multiply these values by 1000 they'd be correct. For example, here's a script that seems to fix the model you attached.

Array lengthNodes = ["x", "y", "z", "sx", "sy", "repeat.y", "shapeRepeat", "repeat.x"];
treenode visualizations = Model.find("Tools/StorageSystem>variables/visualizations");
for (int i = 1; i <= visualizations.subnodes.length; i++) {
    treenode elements = visualizations.subnodes.first;
    for (int j = 1; j <= elements.subnodes.length; j++) {
        treenode element = elements.subnodes;
        for (int k = 1; k <= lengthNodes.length; k++) {
            treenode lengthNode = element.find(lengthNodes);
            if (lengthNode && lengthNode.value != 1)
                lengthNode.value *= 1000;
        }
    }
}

Paste that script into the Script console and run it. Then open the Storage System window and press the apply button.



Matthew Gillespie
FlexSim Software Developer

Message 14 of 14

tsuji_ryusuke
Observer
Observer

@Matthew Gillespie ,

I was able to confirm that it can be dealt with by the method you provided. Thank you for your support!

Document this information and distribute it to my customers.

0 Likes