Change Type Parameter in Cable Tray

I’m trying to change a type parameter of cable tray without success. I have used element.type node and also Element.SetParameterByNameTypeOrInstance (Rhytm). In same cases i get this error “No parameter found by that name”.

Thanks

Hi @F.Bitetto

The error says it all. Make sure you have that parameter in cable tray types.

You can also do this way using OOTB Nodes:

  • Select CableTrays using SelectModelElements node → GetParameterByname with parameter name as “Type”(This will get you CableTray Type) → SetParameterByname with your type parameter which you want to write the values.

Hope it helps!

1 Like