question

Yue Y avatar image
1 Like"
Yue Y asked Matthew Gillespie answered

How to get the total number of input/output ports through FlexScript

How can get the number of input/output ports with FlexScript?

FlexSim 19.1.1
ports
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

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered
Object obj;

int numInputPorts = obj.inObjects.length;

int numOutputPorts = obj.outObjects.length;
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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