question

Carlos Reyes avatar image
0 Likes"
Carlos Reyes asked Carlos Reyes commented

User libraries with robots

Hi everyone!

I have two questions about user libraries...

Context:

I have the next robot station in my model:

1646700177517.png

It is a simple process, when a box arrives to de robot station, the robot executes an animation.

First question:

The problem is when I add the plane to a new user library

*The plane contains the robot, the cube (that is really a processor), the queue and the mesh

If I add the plane to a new user library and I drag the plane form the user library to my model (wich already have the original robot station), when I run the model I get the following message: 1646700486250.png

1646700680872.png

Add if I just copy and then paste the plane in my model it works and I don't get the error message:

1646700755568.png


But I supposed that copy and paste is the same than adding the plane from an user library, what is wrong?

I want to use the library so my client can put Robot stations in new models just by opening an user library.

Second question:

Also, do you know how to save my drawings within my user library? Otherwise when I drag mi plane from my user library into a new model FlexSim does not find the files:

1646701047832.png

I saw this answer but still I can't do it:https://answers.flexsim.com/questions/34638/possiblity-of-saving-packedmedia-node-into-a-user.html

Can you explain me?

Here is the model: ModeloCeldas2.fsm

Thank you a lot!!!!!



FlexSim 22.0.0
robotuser librarypackedmedia
1646700177517.png (194.0 KiB)
1646700486250.png (11.5 KiB)
1646700680872.png (611.2 KiB)
1646700755568.png (390.1 KiB)
1646701047832.png (30.8 KiB)
modeloceldas2.fsm (2.2 MiB)
5 |100000

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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

First - drop an instance of the "Object" process flow into your model - you'll get a message saying the process flow was updated. This allows the model to run.

It looks like the media packing routine doesn't like spaces in the file name. I renamed Cabinarobotsoldar25.skp and the reload media brought it into the user library node:

1646836244997.png

Do you have the media stored on the PC? I think the model needs to know where to find them on the file system. It doesn't look like the process does any copying from the model packedmedia node across to the userlibrary node when it doesn't find the shape in the file system - although it seem like it might be a good idea to do so.


1646836244997.png (17.6 KiB)
· 6
5 |100000

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

Carlos Reyes avatar image
0 Likes"
Carlos Reyes answered Carlos Reyes commented

When I try to load the library I uploaded Fanuc.fsl.

1646848758189.png

But I can open the library that you uploadad, that is odd.


1646848758189.png (33.6 KiB)
fanuc.fsl (2.3 MiB)
· 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.