question

Clara avatar image
0 Likes"
Clara asked Clara commented

Import 3D object since de simulation begins

I need to import some robots into the 3D model and I do it with the process flow. It works but I need to have the robots since the simulation begins. I need the object to apply stops to them.

I import my 3D robot at a shape and then I hide the shapecaptura-de-pantalla-2024-01-10-072805.pngcaptura-de-pantalla-2024-01-10-072815.png

FlexSim 23.0.3
import 3d objects
· 4
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·
Could your provide some more details? What is the reason for creating the robots during the model run rather than for example in a reset trigger or as part of the On Set code of a model parameter?
0 Likes 0 ·
Clara avatar image Clara Felix Möhlmann commented ·

Sorry, I don't know how to do the two things you told me about.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Clara commented ·

You can use a parameter table to choose the function of OnSet which can be to change the number of task executers in a model.


0 Likes 0 ·
Show more comments

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Clara commented
So you have added the robot as an object in the Flow Item Bin?

If its supposed to act as a fixed resource or task executer, you would add the respective object which the robot should be based on to the model. Change its shape, add animations, etc.... until it matches what you need. Then you make copies of that object or add it to a user library.

· 3
5 |100000

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

Clara avatar image Clara commented ·


I have created my imported object in FLow Item Bin, I have configured its animation.

1705050631895.png


Now I need to add it to the library so I can use the object as a task executor, but I don't know how to do it.

0 Likes 0 ·
1705050631895.png (185.1 KiB)
Felix Möhlmann avatar image Felix Möhlmann Clara commented ·

Sorry, my post wasn't worded properly which lead to a misunderstanding.

You do not want to add the robot as a flow item. A flow item can not be used as a persistent object in the 3d model. It will always be deleted on reset.

What I meant was to add a default task executer to the 3d model. Make the necessary changes on that object. Then add it to a user library or just make copies of it with copy/paste.

1705054347711.png

That said, you can use the flow item you have created. You would just have to create new robots when the model starts and add them to a timetable(s) through code as described here. (This should also work for MTTR/MTBFs)

0 Likes 0 ·
1705054347711.png (150.0 KiB)
Clara avatar image Clara Felix Möhlmann commented ·

It works, thank you very much!!!!!!!

0 Likes 0 ·

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.