question

Dylan Webb avatar image
1 Like"
Dylan Webb asked Phil BoBo answered

Nodes deleted from the model throw errors on build

Hi

I've deleted the node SmallTank320 way back in the history of my model, but only recently deleted the User Command ArrivalTrigger, and now on compile I am getting these errors. What should I do?

Flexscript Error MODEL:/SmallTank320>variables/interarrivaltime line 5 The function ArrivalTrigger is not recognized

Thanks,

Dylan

FlexSim 7.5.4
error messageflexscript errormodel errorbuild error
5 |100000

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

Phil BoBo avatar image
0 Likes"
Phil BoBo answered

Click on the model node in the tree and press the > button to its left.

That will show you nodes within the model's attribute tree.

Your missing object is probably hiding in there. Delete it out of there and then collapse your model's object tree by pressing the > button again.

· 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.

Dylan Webb avatar image Dylan Webb commented ·

Thanks Phil, that was the problem!

0 Likes 0 ·
Ben Wilson avatar image
1 Like"
Ben Wilson answered Phil BoBo converted comment to answer

The error indicates that there is still an object named SmallTank320 in your model.

If your model is large and you're not sure where it might be hiding, you can find it using FlexSim's Find Objects tool:

Open Find Objects under the main menu's View menu. The Find Object tool will open in your quick properties panel, typically on the right side of the screen.

Type the name of the object you're trying to find and click the Find button. The object will be centered in your view and highlighted yellow:


· 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.

Dylan Webb avatar image Dylan Webb commented ·

Yup so I've tried the above but the result is a window that says 'Could not find any more references'. I know the element doesn't exist in my model, it only comes up in search results if I search from the project level in the tree view. Then if explore tree I can see it, but if I right click and view up it disappears. Thanks for the suggestions though

1 Like 1 ·
Ben Wilson avatar image Ben Wilson ♦♦ Dylan Webb commented ·

@Dylan Webb, that sounds like some pretty odd behavior. Would you be able to send your model in? If it has proprietary info, you could start a new private question.

0 Likes 0 ·