SOLVED Is there a way to change the GvNode Port Index

hi,
i noticed drag port can change the ports order,but haven't find any message about how to resort the GvNode Port index in SDK, is this possible by code?
hope your help.

There is actually no function for doing that. The only workaround is to delete/recreate everything by yourself.

Cheers,
Maxime.

Hello,

can you explain a little bit more what you are doing? What kind of plugin are you writing?

best wishes,
Sebastian

@s_bach just a sudden thought when i use GvPort* GetInPort(Int32 index) go through all the InPorts. i attempt to change InPorts index but failed, is there a way to do that?

There is actually no function for doing that. The only workaround is to delete/recreate everything by yourself.

Cheers,
Maxime.

@m_adam disappointed 😥 😥 😥 , thank you for your answer.
And if i create my own GvOperatorData, can i get the message when change Port Index by mouse Drag?

@Jmelon I'm sorry there is no specific message sent to the GvOperatorData It's all handled in the UI.

Cheers,
Maxime.