Opening/Closing ports via Model Reset Trigger (Script)

Opening/Closing ports via Model Reset Trigger (Script)

davide_walker
Community Visitor Community Visitor
74 Views
1 Reply
Message 1 of 2

Opening/Closing ports via Model Reset Trigger (Script)

davide_walker
Community Visitor
Community Visitor

 

I'm trying to configure my simulation model to open/close ports via a model reset trigger (script).

 

Although my current script contains the proper syntax, it does not appear to be opening or closing ports upon reset.

 

Note: Objects in the model do not contain custom scripts or port logic, so there shouldn't be anything overruling the commands of model reset script.

 

Below is a snippet of my code 

 

davide_walker_0-1759862447471.png

 

 

If anyone has any advice/tips on how to navigate this issue, I'd greatly appreciate the input.

 

Thank you!

0 Likes
75 Views
1 Reply
Reply (1)
Message 2 of 2

SebastianCanasV
Collaborator
Collaborator

@davide_walker , are you working with fluid objects? Consider the documentation of closeop

0 Likes