question

MarioJesus avatar image
0 Likes"
MarioJesus asked Jeanette F commented

Duplicate Information in a Custom Property Panel

I created a new section in the property panel of the processors, my problem is that when there are two or more processors what happens is that if I change one of the combo boxes the information is also changed in the other processors.1734458380792.png

FlexSim 24.2.3
flexscriptcodeproperty
1734458380792.png (2.6 KiB)
· 3
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@MarioJesus, as far as I can assume you work with static links in your path descriptions. Most instanced view structures use a detour over objectfocus or relative paths to address instanced property windows. But to help you better, you should append a bit more than that what you have done - an attached model, some screenshots of your code, ..
0 Likes 0 ·
Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @MarioJesus,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @MarioJesus, was Jacob Gillespie'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

Jacob Gillespie avatar image
0 Likes"
Jacob Gillespie answered

@MarioJesus

In a call we found that the itemcurrent variable is not set in the coldlinkx code, so the combobox selection is never changed when another object is selected.

This code is a good example of how it should be done:

VIEW:/modules/ProcessFlow/DisplayProperties/Text/Font/EditFont>eventfunctions/coldlinkx

5 |100000

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