question

wade avatar image
0 Likes"
wade asked Jeanette F commented

How to put my own User Library to a customized module?

Hello ,

Is it possible to put my own User Library to a customized module?

Not using "Open User Libraries"(.fsl) to add User Library.



FlexSim 24.0.1
module sdkuserlibrary
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @wade, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot edited

You can add your user library to the startup using the Global Preferences:

1710165377517.png


1710165377517.png (11.1 KiB)
· 2
5 |100000

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

wade avatar image wade commented ·

Thank You !
Is it possible not using ".fsl"?

I try to copy TaskExecuter with my own 3D model to LibraryIconGrid node.

1710167660583.png

1710167685505.png

1710167453895.png

1710167486676.png

first time it work, but when I restart Flexsim and press TaskExecuter in MAIN:project/library/Model. It have exception.

1710168099583.png

0 Likes 0 ·
1710167453895.png (28.7 KiB)
1710167486676.png (10.3 KiB)
1710167660583.png (21.3 KiB)
1710167685505.png (2.3 KiB)
1710168099583.png (19.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ wade commented ·

When the library is loaded it should show the object you added via the menu and saved as part of the user library:

1710169488186.png

You can also read about module development here, but for this simple application it should not be necessary.

0 Likes 0 ·
1710169488186.png (40.5 KiB)

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.