Warning: SharedParameter.Create operation failed.
The best overloaded method match for ‘Autodesk.Revit.DB.ExternalDefinitionCreationOptions.ExternalDefinitionCreationOptions(string, Autodesk.Revit.DB.ParameterType)’ has some invalid arguments
Haven’t used that node, so not sure of all the inputs. One issue could be that Details is not a valid parameter group name. Just fyi, details looks to be misspelled also.
Revit has a simpler node for adding family parameters. FamilyDocument.AddParameter.
Thanks for your input, @staylor .
Details is written in Spanish, hence the apparent misspelling. I also made sure to create a Shared Parameters Group by that same name. I think the issue is with the ‘group’ input.
I will look into the node you are mentioning and update this answer.
Apologies for the mispelling comment. Maybe there’s a misunderstanding about the parameterGroup being asked for. It’s not looking for the shared parameter group name, it’s looking for one of these parameterGroup names. From my knowledge, there’s no way to add a new group to this parameter group list.
I see what you mean.
I understand that the first group input is for the name of the group the parameter belongs to.
Just to be safe I went back and tried what you suggested, but got the same error:
As for the node suggested in your previous post, I found one called Parameter.CreateSharedParameter but no FamilyDocument.AddParameter. Is it available for Revit 2020? I’m stuck in this version given the project I’m currently working on.
The “group” input may actually be the one where you input “Detalles” into. Yeah the FamilyDocument.AddParameter wasn’t available in Revit 2020. Not sure when it was added, so you will have to use a custom package like you have.