
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everybody!,
I am new in revit API so, apologies if my question is a bit stupid, I am looking for the solution but i did not find it.
I am trying to create a macro to synchronize the space parameters between models. these parameters are into the same shared parameter file.
I can get the shared parameter file with:
... DefinitionFile spFile = this.Application.OpenSharedParameterFile();
DefinitionGroups defGrs = spFile.Groups;...
I would like to add to my model the existing shared parameters in the shared parameter file. I am tryin to do it with:
...Binding b = this.Application.Create.NewInstanceBinding(defGr); ...
But I am not obtaining anything....
I would like to add shared parameters from a shared parameters file to the Spaces category, under Electrical params. group and as instance parameter.
Could anyone please give me any clue?
many thanks in advance
Solved! Go to Solution.