- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to change a Material's "Manufacturer" parameter via the API in Revit 2024. The script reports success (no errors, debug prints reflect the change) for changing the parameter, but I don't see the change actually reflected in the Revit editor. Am I doing something incorrect here?
with revit.Transaction('Edit Material Manufacturer'):
print(material.LookupParameter('Manufacturer').AsString())
material.LookupParameter('Manufacturer').Set(newManufacturer)
print(material.LookupParameter('Manufacturer').AsString())
The above is in Python, but if there is a good example in C#, that works just as well for helping me debug this! I've also tried using get_Parameter w/ the BuiltInParameter, but the result was the same.
Solved! Go to Solution.