question

Arun Kr avatar image
0 Likes"
Arun Kr asked Arun Kr commented

Error Returning Object Type

Hi,

I am getting an error when returning the object type using the user command. Working fine while returning the treenode type. If I am right, looks like this needed to be added in the next release.

Please see the attached model.error-object-return-type.fsm

Regards,

Arun KR

FlexSim 17.0.0
usercommand
5 |100000

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

1 Answer

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Arun Kr commented

On your user command, change the Return Type from "Object " to "obj" or "var" as described in the documentation:


return-type.png (129.4 KiB)
· 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.

Arun Kr avatar image Arun Kr commented ·

Thanks Phil.

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.