    

 ## On this page

  

 

 # create\_published\_parameter

 Last update: 16.07.2025 

<a id="compolyx.Model.create_published_parameter"></a>

#### Model.create\_published\_parameter(name, source\_object=None, source\_property='', user\_script='', category='input', acp\_type=None, description='', lower\_limit=None, upper\_limit=None, cyclic=False, float\_list=\[\], string\_list=\[\], unbound\_value=None)

Create a published parameter.

- **Parameters:**
    - name: Name of the parameter.
    - source\_object: Name of the object the parameter is linked to.
    - source\_property: Property of the linked object the parameter controls.
    - user\_script: Script to be executed for determining the parameter value. Only used when category==”expression\_output”.
    - category: Controls the behavior of the parameter. Available options: `input`, `unbound_input`, `output`, and `expression_output`.
    - acp\_type: Type of the parameter, as used within ACP.
    - description: String description of the parameter.
    - lower\_limit: The lower limit for numeric values.
    - upper\_limit: The upper limit for numeric values.
    - cyclic: Whether a float value is cyclic.
    - float\_list: A list of possible values for a float.
    - string\_list: A list of possible values. List of objects if the property type is object, else list of strings.
    - unbound\_value: The value of the parameter, if category==”unbound\_input”. In this case, the parameter is not linked to an existing object.
- **Returns:**The created PublishedParameter.