Custom Script Error Connecting Cable #12391
Answered
by
cslingerland
cslingerland
asked this question in
Q&A
-
I'm testing connecting cables with a custom script to two interfaces but running into an error. Am I doing something wrong? I haven't found any good examples online of scripts for cable connections. Script:
Error:
|
Beta Was this translation helpful? Give feedback.
Answered by
cslingerland
Apr 28, 2023
Replies: 1 comment
-
I figured it out - apparently you just have to reference the object in there which is different than how the API shows it. The API shows it requiring both fields as I had this written originally. Working code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cslingerland
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out - apparently you just have to reference the object in there which is different than how the API shows it. The API shows it requiring both fields as I had this written originally.
Working code: