houndman

houndman

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Groupexpression with strings Oct. 16, 2018, 1:58 p.m.

Thank you guys for your thoughts on this,

The solution was a combination of both of your approaches:

when searching for a specific string:

s@addr_postcode == “10004”

When testing against an integer:

atoi(s@addr_postcode) > 1000

Thank you very much!

Groupexpression with strings Oct. 16, 2018, 7:39 a.m.

hey guys,
can somebody please enlighten me?

i don't understand how to deal with the groupexpression node and string-attributes.

I'm playing around with the osm-importer of the gameDevToolset

the incoming data have tons of primitive attributes, i want to use to create groups.

in the groupexpression node (set to primitives) i type the following:

@P.x > 50 —> works, although there is no primitive attribute “P”

@addr_postcode > 1000 —> gives no error, but an empty group, although there are prims with this attribute > 1000

then i realized, that all attributes in the osm geometry are strings, so i tried

atoi(@addr_postcode) > 1000 —> throws a no matching function error

@addr_postcode == ‘10004’ —> throws an undefined binary operator error

can somebody explain how to test for specific strings and how to
convert them to integer/float for testing against numbers
in a groupexpression node?

Thx in advance

Houdini & Windows 10 ---> :( Oct. 11, 2018, 1:04 p.m.

pietroponti
In my case it turns out it was the Asus Sonic Suite 2

Hey pietroponti,

i cannot say how much i appreciate your hint, pointing in that direction.

all systems i HAD this issue are equipped with ROG mainboards and had the software you mentioned installed.

after removing it all issues are GONE !!!!

QT5 —> now working
dual monitor –> now working

thank you soooooooo much, man! you made my day! i owe you a tanker of beer !