Message 1 of 2
Programmatically adding a shared parameter returns false (C#).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone, I have a problem with adding a shared parameter to a project via the revit api. I will be grateful if you respond and help me.
Problem: doc.ParameterBindings.Insert always return false and I dont understand why. There is my code under the text. Purpose of this code is adding a sharedParameter from plugin`s parameters template. Revit returns false and dont tell why. In documentation there is words that revit can return false if parameter already exist but it doesnt in the testing documents (I also checked the possible match of the guids). I've already run out of ideas on how to find the source of the problem.