Problems replicating the Module SDK Development example (SnowProcessor)

Problems replicating the Module SDK Development example (SnowProcessor)

roger_salaT7YTD
Participant Participant
126 Views
2 Replies
Message 1 of 3

Problems replicating the Module SDK Development example (SnowProcessor)

roger_salaT7YTD
Participant
Participant

Hello everyone,

Following the discussion here:
https://forums.autodesk.com/t5/flexsim-forum/c-dll-not-working-when-used-inside-experimenter-works-f...

 

I’ve been trying to learn more about Module SDK development, so I attempted to recreate the Example Module exactly as described in the documentation:

The project compiles and builds without any issues. I followed every step, but at the end the SnowProcessor object does not appear under Fixed Resources (or anywhere else in the library).

There are no build errors or FlexSim errors — simply nothing shows up.
My module folder structure looks like this (screenshot below).

 

roger_salaT7YTD_0-1763713344839.png

roger_salaT7YTD_2-1763713425072.png

 

I also tried running compiling in Debug mode with the same result.

We’re using FlexSim 2025 Update 1.

 

Questions:

  • What’s the correct way to troubleshoot this?

  • Is there a common cause for a module that compiles successfully but fails to register its objects in the library?

Any guidance would be greatly appreciated.

Thanks in advance!

0 Likes
Accepted solutions (1)
127 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Advocate
Advocate
Accepted solution

I don't know if this was different in prior versions or why it's not mentioned in the example. But for an object to be shown in the library there needs to be an entry for it in

"MAIN:/project/exec/globals/LibraryGroups". You can also copy an existing node from there and change the droppath to the new processor (the base processor uses "popoutChoices" instead of a single droppath, so I would choose a different one to copy, like the queue).

moehlmann_fe_0-1763720746717.png

 

0 Likes
Message 3 of 3

roger_salaT7YTD
Participant
Participant

Hello,

Thank you very much for the quick reply! I managed to get it working thanks to your answer.

Really appreciate your help!

 

 

0 Likes