Hello everyone I'm writing through a translator, so maybe the problem won't be correct, I need help getting the Manufacturer parameter with "Product information" from the material and entering it into the existing element parameter

help!

Manufacturer isn’t filled out in my project. but Element.materials+ from Clockwork package might help you get the result you need
Edit: filled it out for funs. a simple getparametervalue en setparametervalue should do if i understood your question / problem right

1 Like

I didn’t work at dynamo at all, and this is the first time, but I have a task to create a creak so that it collects information from several parameters and fits it into one by type: material: Manufacturer, material: Model,
The problem is that you can get the element parameter, but how to get the material parameters,
I read in one post that the problem is possible that not all the data in the material is parameters and supposedly the parameters that I need are included in this composition.
I hope the translator coped with the task and everything will be clear)

so if i understand this right, you want to put several parameters from the material. into one combined element parameter?


Element.Parameters expect argument types (revit.elements.element),and the call is made using

Yes that’s right

i cant really help with your error. seems like your input isnt right.

to combine parameters in a string. use String.Join

Here’s an example:

Maybe pin all your nodes so we can see what your inputs and outputs are?

Have you installed a version of IronPython2 which is compatible with your Revit build?

You can check by placing a Python node on canvas, right clicking on it, and seeing what you have for options in the engine dropdown.

1 Like

Click on the dropdown that says CPython3 at the bottom of the Python editor window and see if you have an IronPython2 engine. If not you need to install the correct version for your Revit version from the Dynamo Package Manager. Read the package description carefully to ensure you get the right version.


I take it everything is bad?(

Not bad, but you need to install the IronPython2 package from the Dynamo Package manager. Otherwise the custom node Element.Materials+ won’t work as it relies on IronPython2.

1 Like


In fact, I just need to get these two parameters.

good


How do I get the parameter I need from this list now?

i showed you in my pictures. it seems like you managed to get one. getting the other shouldnt be that difficult