ASRS parts size reseted on click

steven_chen1
Not applicable
0 Views
6 Replies
Message 1 of 7

ASRS parts size reseted on click

steven_chen1
Not applicable

[ FlexSim 22.2.0 ]

Hello,

I would like to change shape of ASRS parts such as lift/beam/car. But the size of each parts got reseted on click in model view. I tried clearing reset position in context menu but it didn't work.

0 Likes
Accepted solutions (1)
1 View
6 Replies
Replies (6)
Message 2 of 7

kavika_faleumuE6HT5
Autodesk
Autodesk
Accepted solution

Hey @Steven Chen, you should be able to change the size of certain components of the ASRS using the "asrsresizedata" node in the object's tree (MODEL:/ASRSvehicle1>visual/resizeinfo/asrsresizedata). You can change these properties on all ASRS when you add them to your model by making the changes in MAIN:/project/library/taskexecuters/ASRSvehicle>visual/resizeinfo/asrsresizedata.

rescaleasrscomponents.gif

0 Likes
Message 3 of 7

steven_chen1
Not applicable

It looks like those factors are related to object size?

Is it possible to disable asrsresizedata, so I can decide the size of parts in Animations tool?

I tried to delete the asrsresizedata node but it applied default factors instead of disabling.

0 Likes
Message 4 of 7

kavika_faleumuE6HT5
Autodesk
Autodesk

You can also try editing the "scaleComponents()" function found at MAIN:/project/library/taskexecuters/ASRSvehicle>behaviour/cppfunctions/scaleComponents(). This function is called in the OnClick event of the ASRS.

0 Likes
Message 5 of 7

steven_chen1
Not applicable

Hi @Kavika F

I tried to disable to scaleComponents() by adding "return 0" at first line, but this function seems not called when I click the ASRS. So it still scale to default size. How can I edit the scaleComponents() correctly?

0 Likes
Message 6 of 7

kavika_faleumuE6HT5
Autodesk
Autodesk

Hey @Steven Chen, I was informed that you can't make changes to the C++ functions used in "scaleComponents()". Also, any modifications to the main or view trees will be reset when you close and reopen FlexSim. Please ignore my second suggestion.

You can change the shapes and sizes of individual parts of the ASRS in the tree; here's an example with an ASRS; MODEL:/ASRSvehicle1>visual/drawsurrogate.

1665701446420.png

Here's an example of me editing these:

asrs-example-2.gif

0 Likes
Message 7 of 7

steven_chen1
Not applicable

Thank you for reply. But I think modifying spatial size is same as how I did in animation tool, thus part size will be reset when I click ASRS.

I suppose the best way for now, is tuning the factors under asrsresizedata, or making my own ASRS by using basic TE.

0 Likes

Type a product name