question

Penny Peng avatar image
0 Likes"
Penny Peng asked Joerg Vogel edited

FlexSim V23.0 Object Name Error Question

Hello everyone,

I want to ask how to resolve the current error.

Image 1 below shows the warning message I am currently encountering.1742524114783.png

錯誤 圖片.gif

I would like to rename the processor object, changing "Load ST _1" to "A04_2845".

FlexSim 23.0.15
objecterrormessagerename
error-圖片.gif (270.8 KiB)
1742524114783.png (11.8 KiB)
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

I cannot assume, which trigger or event you try to use.
The name property should change the string.

Edit > On reset Trigger

/**Custom Code*/
Object current = ownerobject(c); current.name = "A04_2845";
· 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.

Penny Peng avatar image Penny Peng commented ·

Hi Joerg,


I'm not using any events or triggers.

I just moved a new processor from the library.

I used the properties view to rename the new processor to "A04_2845".

After renaming, the error is displayed in FlexSim's System Console.

I used your method and FlexSim's System Console showed the same.

I only use Template to allow me to quickly set up the same set of processors.


Best Regards,

Penny Peng

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Penny Peng commented ·

@Penny Peng, I am sorry to hear this. I cannot replicate your error message.

All I get are responses if I choose to rename to an already existing name.
I tried to make a new processor to be a template of "Load ST_1" processor object by sampler tool. I added a template instance by green plus icon in properties of Processor "Load ST_1". By default this new instance gets a new name "Load ST_2". Even if I exclude name from override and add a new instance I was still able to apply a new name of instanced object in quick properties panel.

Test with a property table didn't produce such an error by addjusting name property in this table view.

Test with a global template didn't produce this kind of error.

So maybe you can build a sample model and attach it to your question, that I can understand what the problem is.

0 Likes 0 ·