Dear guys,
I’m trying to add parameters to my Revit project through Rhino Inside Revit without any success.
I am aware of Revit API just creates shared parameters at the moment:
Image from my GH definition is attached.
Last release version either from Revit 2023 as well RiR are installed.
Hi Japhy. Thank you for your prompt response.
I ‘m trying your approach. Add parameter component becomes red when shared parameter is not in use.
If I manually add the shared parameter in the correct category from Revit, Add parameter component will say ’ param is already in use’.
Image attach of the process:
Is there a way to create params from RiR as where possible with Define parameter before? Any clue of how to create those shared parameters from scratch through RiR?
By the way, could you please tell me the component name that is feeding the input Scope of Add Parameter component (value picker is not working in my case)?
Which version of Rhino.Inside.Revit are you working in? Value Picker by double clicking on the GH canvas to search should get you there.
If the parameter is already created you can use the Query Parameters
Can you explain a bit more? Define>Add Parameter adds to the current document. If you want that part of the shared parameter file you will need to export.
Dear Japhy.
I’ve tried to replicate your definition but facing the same problem as before. It looks like my RiR Add Param component is not working for some reason (I’ve started a new document with the default arch template in meters from Revit):
As you can see my value picker is not updated when connected to Scope input from Add Parameter as it does with Elefront components.
Sorry for being confusing, my question related to shared parameter creation is about its own creation from RiR, rather than export project params as shared params within Revit (tell me please if it exists some limitation in that aspect).
It looks like Add Param is not working for some reason, I always have the same message: 1. System.Core: Value cannot be null. Parameter name: source , And the component becomes red.
I’ve updated my Revit to the 2023.1.10 version and the problem persists.
Could you please send me the link for sending you the Zip with the Revit crash reports?
When crashing there will be a dialog with instructions to send to mcneel. The zip is created on the crash and is located on the desktop. Note that it’s purged after so will need to be added immediately.
Japhy it’s a local file.
I see, I will have a look and install those software for both plugin conflict and for sending you the report files.
I will go to have a look and let you know.
Plugin Conflicts are typically on the install, so this would be a first, but we need to eliminate the variables since we are running the same essential Rhino / Revit setups.
Japhy, I have disabled most of plugins, Add Parameter says: 1. RevitAPI: A managed exception was thrown by Revit or by one of its external applications.
After reconected, same error appears: 1. System.Core: Value cannot be null. Parameter name: source.
When close, a Rhino Crash report was created on the desktop.
I send it to you RhinoDotNetCrash.txt (3.1 KB)
Hi Japhy.
I have done it, but same Add Param message arises 1. RevitAPI: A managed exception was thrown by Revit or by one of its external applications.
I have noticed that Add Parameter is only working when Global parameter is selected, however, I need to add shared parameters for data management in orther to deal with Direct Shape from GH.
Thank you for your answering Japhy.
Unfortunatellyu, I don’t remember what command is that related too.
Case of RiR, I could continue working with it but the params.
So I need to use Dynamo for that purpose in the meantime (the one that I am not able to open).
Looking at Dynamo log, those folders were missing after plugin disable with AddInManager tool:
The folder ‘C:\Program Files\Autodesk\Revit 2023\AddIns\DynamoForRevit\Built-In Packages\Packages’ does not exist
2023-01-22 10:22:53Z : Dynamo will use the package manager server at : https://www.dynamopackages.com
2023-01-22 10:22:53Z : The folder ‘C:\Program Files\Autodesk\Revit 2023\AddIns\DynamoForRevit\Built-In Packages\Packages’ does not exist
2023-01-22 10:22:53Z : The folder ‘C:\ProgramData\Autodesk\RVT 2023\Dynamo\2.16\packages\GenerativeDesign\dyf’ does not exist
2023-01-22 10:23:23Z : The folder ‘C:\ProgramData\Autodesk\RVT 2023\Dynamo\2.16\packages\GenerativeDesign.Extension\dyf’ does not exist
2023-01-22 10:23:53Z : Generative Design (id: DFBD9CC0-DB40-457A-939E-8C8555555A9D) extension is added
2023-01-22 10:24:24Z : The folder ‘C:\ProgramData\Autodesk\RVT 2023\Dynamo\2.16\packages\GenerativeDesign.Revit\dyf’ does not exist
After uninstall and reinstall again Revit, files are still missing, so Dynamo cannot initialise and Revit crashes.
Is there a way to bring back manually those Dynamo folders, or clear Windows registry keys, in order to perform a clean Revit installation from scratch?