Any document PythonScript Operator(*,+,-) for Vector

In PythonScript .
When I add vectors , I only write v1+v2, so I do not have to use rs.VectorAdd( ).

Are there any document or sources for IronPython about these operators ?

I could not found using grep with keywords “operator” or “add” in
C:\Users\aaaaa\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\

If you open RhinoIronPython.chm you should be able to find in its index an entry called Vector Methods.

/Nathan

Here is the page from the RhinoCommon API concerning Vector3D operators:

–Mitch

Thank you very much.

I learned operator is not in “Script” but in “RhinoCommon”

Rhinoscriptsyntax is simply a set of “wrapper” functions written on python/RhinoCommon that make it easier and faster to program basic scripting operations. As such, the objects passed around by the various functions are RhinoCommon objects (Python is an object-oriented language). Objects have both properties and methods associated with them. In the case of Point3D and Vector3D objects, the various operators above are actually methods inherent in the objects themselves. So they are also available even when using Rhinoscriptsyntax.

–Mitch