question

Mischa Spelt avatar image
1 Like"
Mischa Spelt asked Jeanette F commented

Assign pointer label in PF Source

Hi,

This is not a serious bug, but something that strikes me as odd. When I try to assign a pointer label in ProcessFlow it works as expected when the target is an object, e.g.

assign-labels-object.png

But when the target node is not an object, just a 'regular' node, the result is NULL:

assign-labels-node.png

FlexSim 23.2.0
process flowlabelsmodel tree
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

It's looking for the value of the node when it's not an object. If you want to use a pointer (in case you rename or relocate the node) then you must use another node with pointer data that points to the target and reference that node instead.

Update - scrub that it doesn't work either. Example attached.

LabelPointToNode.fsm

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

Hi @Mischa Spelt, was Jordan Johnson's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

Looking briefly at the code, this seems to be by design. I'll add an issue to the dev list to investigate, but the code I was looking at is super old and gets used in lots of places. The most likely outcome is that we determine not to change anything. My guess is that this bug-like behavior here is also a feature in some other circumstance.

5 |100000

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