Hi Everyone,
I am really struggling building a custom node in support of gaining proficiency in xGenerative Design. Here is the functionality I'm expecting from this node:
The Similarity custom node evaluates two inputs and tests for similarity between two numbers (reals). It also has a percentage input that defines the ratio of input A that input B is allowed to deviate from before inequality is assumed. The Similarity custom node also has an output that determines the absolute value distance between the two inputs.
In my attempts at this custom node, I have defined inputs & outputs, declared variables and utilized if, else if, else statements. I spent about five hours, to no avail. If cornered, I would probably say the cause of failure was if, else, else if statement syntax errors. For reference, I studied the xGD in session help browser with sample code and the EKL Multidiscipline Automated Engineering User Assistance online help.
This seems like it should take under thirty-minutes to script, but not for me right now. The online sources just don't go far enough in a beginners needed tone and delivery. I even checked in with Chat GPT, but GPT=4 is dated (Sept. '21). The AI replied, "...the term "Enterprise Knowledge Language" is not recognized as a standard term or a particular technology in artificial intelligence..." So, hey, GPT did not know, which made me feel a little better ;-)
To the Community -- I'm hoping someone will create this custom node, screen grab to capture inputs, outputs, and body code and share in a reply. Perhaps if solved, this would be a candidate for the xGD in session help browser & sample "Try It" code.
Thank you
