Jump to content

Generating Errors without static assert


Recommended Posts

Is it possible to generate an error similar to static assert with dynamic variables? I am creating linear algebra node groups and I would like an error to be thrown if the input vectors are different lengths or if certain runtime conditions happen.(Col != Rows in matrix multiplication) Since get length on an array is not constant, static assert will not work for this.

Thanks!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • LATEST ACTIVITIES

    1. 1

      Cinema 4D 2025.1 ❄️ Winter Release 2024

    2. 1

      Cinema 4D 2025.1 ❄️ Winter Release 2024

    3. 13

      Multi Gizmo (Move, scale, rotate in one)

    4. 7

      Looking for Python Script : Create Instances from multiple Selected objects

    5. 13

      Multi Gizmo (Move, scale, rotate in one)

×
×
  • Create New...