Get family from SpaceTag

how get Get the family from SpaceTag in python?:
Screenshot_8

Hi @til.shviger,

I inadvertently did something similar in this post I literally just posted.

Change parameter of elements into family

You want to use the Element.GetType (py) node and Family.FamilyType node I think.

Cheers,
Dan

1 Like

this exactly what i need !
but i have trouble at this step

Yup, you don’t need the whole script. just 2 nodes. I have attached what you need…

GetFamilyFromTags.dyn (4.8 KB)

Cheers,
Dan

1 Like

i need all script because of -Change parameter of elements into family -its my need. change font in spacetags

my be i must choose them

You could do something like this…

1 Like

done, but font of space tag is not changed

I’m not sure what that says i’m afraid. an error is being caught, but I’ll need a translation from you

sorry
im must be write name of parameter in russian )))

Yes, this is what it will probably be. It is a problem of getting parameters by string rather than the built-in parameter. I will fix this, but you can write it in russian and should work (i think)

your script is worked !
excellent work!
thanks you very much!

Thanks @til.shviger, but I can’t take credit for this. That node at the end was 99% @DENIS.REMESNIK. :slight_smile:

but your 1 % its main decision for the end code,
soo,
we are all may dance now
dance

Ha, if only I could dance, when I do it’s usually posted on FB and then crimewatch.

:laughing::sunglasses:

Russion code and USA code
its looks like:
russion hare


plus USA terminator
____________________ +____________________________
терминатор
and we get this universal soldier
_______________________ =___________________________
заяц

1 Like

Hi @til.shviger,

I have updated the code in the other thread, this should now not care if you’re from USA or Russia and be just plain Robot.

Cheers,
Dan

1 Like

Ok,
I’ll look this with joy,
thanks, Daniel )

1 Like