question

Mohamed Roushdy avatar image
0 Likes"
Mohamed Roushdy asked Joerg Vogel commented

Move operators, robots or Transporter into a plane?

I've tried to Move operators and robots into a plane by using "Move into Highlighted object" but when pressing reset it moves back to the model.

I want to keep the operator and robot withing their Cell plane so that when I try a different Location for the cell it allows them to move with the plane

I attached the model where I use a several layout arrangement based on global variable value. the new layout will change when Start running the model.

model-layout-45.fsm

is there something that I'm doing wrong? or should use a flexscript to move these operators into the each cell's plane when model run?

FlexSim 19.0.0
global variablesplaneoperator and resourcerobot positions
model-layout-45.fsm (398.5 KiB)
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

Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered Joerg Vogel commented

Set Object Reset Position isn't updated. Each time you drag an object into the model, the current position is set as the reset position. You can change this. Highlight an object and open the context menu (right mouse button).

Edit > Set Object Reset Position

If your object isn't a subnode of the Plane, you move the object into the plane by source code. In a license version you write in a script console the command

moveobject( objToMove, objContainer)

You select your objects for objToMove and objContainer with the sampler tool of the script window.

In a Express Version you choose the plane as a selected object so() from the context menu.

Edit > Designate This Node (so)

Then you add in the OnReset Trigger of the object that you want to move the command

moveobject(current, so());

You press Reset button and the object is a subnode of the plane. You can delete the reset code after that

Don't forget to update the reset position.

· 1
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Move into Highlighted is also a variant to get your objects as subnodes to your plane.

0 Likes 0 ·