SetParameterDouble

bool SetParameterDouble(this Element element, string paramName, double value)

Sets a named parameter as a double (internal database units).

Parameters

  • elementElement

    The element to modify.

  • paramNamestring

    The parameter display name.

  • valuedouble

    Double value in internal units.

Returns: True if set; otherwise false.

Example

element.SetParameterDouble("Length", 10.0);