Hi @myronHBBUW. Sure. Changing the parameter's value directly would certainly be an easier & more efficient process than having to dig down into components &/or assembly constraints to find the right constraint, then looping through its properties, to find the associated parameter. You may or not be familiar with this practice, but any time you are prompted to enter a numerical value that will be used for a parameter, such as when placing driving part sketch dimensions, or when creating features, and specifying values in a dialog box, you can almost always enter something like "WIDTH = 2.5 in", instead of just "2.5", and that will name the 'model parameter' that gets generated "WIDTH", as well as set the units. This same practice can be used when coding, in certain situations. The key thing to look, which will often indicate that this is possible, is when the Value that the property that you are about to set in your code is asking for a generic Variant or Object, instead of strictly just a Double. When that is the case, you can usually supply a String there, which will be understood similarly to if you typed that String into the equation cell of a parameter in the parameters dialog box. And when adding assembly constraints, either using the API methods, or iLogic shortcut snippets methods, it allows you to enter the parameter's value that same way (numerical or String). When providing a String is possible, you can use something like the example above to name the 'model' parameter, as well as its value, as it gets initially created.
Dim oConsts As AssemblyConstraints
Dim oMate1 As MateConstraint
oMate1 = oConsts.AddMateConstraint(oEnt1, oEnt2, "ConstNameOffset = 2.5 in")
oMate1.Name = "ConstName"
Constraints.AddMate("ConstraintName", "Comp1:1", "EntName1", "Comp2:2", "EntName2", "ConstraintNameOffset = 2.5 in")
Wesley Crihfield

(Not an Autodesk Employee)