Unable to create Project Parameters from Shared Parameters (ootb, Orchid)

Hi there,

I have been trying to add project parameters from shared parameters using Dynamo, so I do not have to do it by hand. The shared parameter file already has the parameters. I can add them easily by hand (Manage>Project Parameters>New Parameter>Shared parameter..etc).

But I want to automate their inclusion to the project using Dynamo. To no avail, unfortunately.

Here is using the ootb Parameter.CreateSharedParameter node. Outputs list with three nuls, which might be normal, as per the node’s help.

Here is using the SharedParameter.Add node (from Orchid).

It does output a SharedParameterElement and a Guid, but when consulting the Project Parameters (Manage>Project Parameters window, no parameter is present.

As you can see, it is empty. And just for reference, here are the shared parameters.

So, what am I doing wrong?

Orchid version 4.0.0.7066, Dynamo Core 4.2.1.5887, Dynamo Revit 27.0.0.5893, Revit 2027.3

Any insight is greatly appreciated!

Juan

añade parámetros compartidos a materiales.dyn (22.3 KB)

Solved using a python script generated with help of Autodesk Assistant. Still, the nodes should work, right?

I believe that this node is to create a new shared parameter and add it to your project, not to load a shared parameter from your existing shared parameter file.

Try right clicking the node and selecting ’help’, and then a bit down there should be a sample graph which you can add to canvas. That SHOULD shed some light on the situation, and if not let us know here and I’ll try and have a look tomorrow.

@manholoz

doesn’t answer your question- but I’d recommend looking at the parameters service in ACC. I mean Forma.

I think it is vastly superior to shared parameters. Some of the settings can be preconfigured.
I don’t know if there are any Dynamo nodes for the parameters service- but once you’ve got it set up, it is quick to manually add multiple parameters to a model

I did refer to the included help, as to the sample graph images in the orchid github repository. I do like the orchid nodes, but without proper documentation, they can be a bit confusing. Still, when I do understand their workflow, they are awesome!.