question

Steven Chen avatar image
0 Likes"
Steven Chen asked Steven Chen commented

ASRS parts size reseted on click

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.

FlexSim 22.2.0
animationasrschange size
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

·
Kavika F avatar image
0 Likes"
Kavika F answered Steven Chen commented

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


· 5
5 |100000

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

Steven Chen avatar image Steven Chen commented ·

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 0 ·
Kavika F avatar image Kavika F ♦ Steven Chen commented ·

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 0 ·
Steven Chen avatar image Steven Chen Kavika F ♦ commented ·

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 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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