What's different between ParameterElmenent and Parameter Element

I get confused between ParameterElmenent and Value of ParameterElement. How can I understand those different? And here have some snapshots.
Why paraElement is same but paraElement.AsString() is different.

It’s the difference between the parameter object itself and its value (which can change).

parameter.Id returns the id of the parameter object

parameter.AsValueString() is one method of getting the value assigned to the parameter

Here’s an example of a number parameter called Number assigned to walls. Using Revit Lookup you can see the id of the parameter assigned by Revit and then the value of the parameter (in this case 100)

2 Likes

Many thank Thomas.:blush:
I think to get your point 80% and another 20% need more prictice~

Thanks for your time~~