【python】Complex Conjugate problem

I have encountered some problems when I am seeking Complex Conjugate.

Using the conjugate() method in a Python component is a success.like this.

but,When I type the Complex into a Python component,I can no longer use the conjugate() method.like this.

  1. “Runtime error (MissingMemberException): ‘Complex’ object has no attribute ‘conjugate’”

I don’t know why this error occurs.I hope someone can help me. Thank you

This is my file:
Complex.gh (4.6 KB)

Those aren’t the same types, complex is a standard Python type and Complex is a Grasshopper type:

2 Likes

Thank you very much AndersDeleuran,This perfectly solved my problem.

2 Likes