Tutorial Python Node: Generic Math Node

This is a tutorial node. It is functionally equivalent to the built-in Multiply node, but written in python as a practical demonstration of using extended attributes to write math nodes that work with any numeric types, including arrays and tuples.

Installation

To use this Node, you must enable omni.graph.tutorials in the Extension Manager.

Inputs

Name

Type

Description

Default

A (a)

numerics

First number to multiply

B (b)

numerics

Second number to multiply

Outputs

Name

Type

Description

Default

Product (product)

numerics

Product of the two numbers