Creating a Group - "with Normal"

I seem to have a problem with the following command:

Group “ABC” equals surface with Normal 1 0 0

It returns with an error: ERROR: No valid surfaces entered.

Yet, List surface with Normal 1 0 0
produces the correct output - a single surface.

So my question is, is “with Normal” a valid extended parsing syntax supported in the Group operation? If so, may I please have an example?

Thanks,
Bob

Fedora v38 kernel 6.4.7-200 x86_64

Hi Bob,

That looks like a Cubit bug to me. The command draw surface with normal 1 0 0 also works. It does not work with a group. I verified that this bug also exists in Sandia CUBIT. Group parsing is not working correctly. I will add this to our bug tracker.

You can do this in python to work around the bug.

surf_list = cubit.parse_cubit_list("surface", "with normal 1 0 0")
cubit.cmd(f"group 'ABC' equals surface {' '.join([str(id) for id in surf_list])}")

Thanks,
Karl

Karl,

Thanks for the quick response and workaround.

Bob