Message 1 of 6
Changing parameter values

Not applicable
03-12-2010
09:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I need help. I want to write a code in c# that will enable me change element parameters. E.g. if i have an element id of 14960, how do i access the element, access the element parameters and access the parameter called "Comments" so that if a write a value for comments, i can see it in the element properties in revit. Pls help.
I have already started by writing a code using the API and "external application: on startup". Pls i need just a sample code to show me how to change the value of an element parameter.
I need help. I want to write a code in c# that will enable me change element parameters. E.g. if i have an element id of 14960, how do i access the element, access the element parameters and access the parameter called "Comments" so that if a write a value for comments, i can see it in the element properties in revit. Pls help.
I have already started by writing a code using the API and "external application: on startup". Pls i need just a sample code to show me how to change the value of an element parameter.