How to get curve index of link and node?

hi,
i wanna get curve of gpv from ENgetlinkvalue() how to can it ?

If I’m not mistaken, the head curve for a GPV is stored in the initial setting field. Call ENgetlinkvalue with the EN_INITSETTINGoption.

ENgetlinkvalue from line 2057 to 2072 dont return curve and EN_SETTING too

@milad-ghiami have you tried running the code? The Kc property at line 2060 holds the valves setting. For GPV it is the head curve.

oh ok, Kc return curve index :wink: thanks!