Item rotate in conveyor

Item rotate in conveyor

3250716938
Enthusiast Enthusiast
271 Views
4 Replies
Message 1 of 5

Item rotate in conveyor

3250716938
Enthusiast
Enthusiast

[ FlexSim 24.0.0 ]

1715938106072.png

why Item could not rotate in conveyor when I set like graph. If use DP could be make item rotate, but why could't be finish in conveyor. Thanks for you answer.

0 Likes
Accepted solutions (1)
272 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

An item cannot rotate by item object properties. An item is on a conveyor a conveyorItem. Conveyors belong to API Class conveyors. Items are visually parts of this Conveyor Class, if they are moved by conveyors. Conveyors are not Fixed Resources. Their inheritance is a module in FlexSim.

If you want to rotate conveyorItems do this from triggers of your conveyor system or by API class Conveyor.Item.

0 Likes
Message 3 of 5

3250716938
Enthusiast
Enthusiast

1716173580991.png

I coding like that, but it's seems can't work, it's that correct? or have some problem in here, thanks you answer!

0 Likes
Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor

@Murphy,

Your last attempt is exchanging a method by a command. Doing it correctly is an approach of reading, analyzing and not of try and error.

https://docs.flexsim.com/en/24.0/Reference/CodingInFlexSim/FlexScriptAPIReference/Conveyor/Conveyor....

If you cannot adjust the source code of a picklist of a photoeye trigger to rotate an item, then there is nothing else you can do.

If it is just a pure visual reason, you want to rotate the shape of an item, then you can still rotate offset values of the shape.
https://docs.flexsim.com/en/24.0/Using3DObjects/CreatingCustomObjectsAnimations/CreatingCustomObject...

or an attribute if it accessible already in the tree.

offsetrz > https://answers.flexsim.com/comments/149972/view.html

0 Likes
Message 5 of 5

3250716938
Enthusiast
Enthusiast
Thanks you share!
0 Likes