Connect to MI
Get a database and table.Create a new record and path
Define a path in the table from a starting folder (in this case the top level folder) usingpath_from().
If the path does not exist, the required folders will be created.
Specify end_node to create a new Record object at the end of the path with that name.
Edit the record’s attributes
Fetch point and range attributes for editing.Point attributes
Assign a list of numeric values to thepoints property.
If multiple values are assigned, you must also assign a list of dictionaries containing the parameter values to the
parameters property. (The two lists must be the same length.)
Here, a single parameter called Basis is used to discriminate between the two point values.
Range attributes
Access thevalue property directly and assign either a dictionary or tuple for high and low values.
Omitting either the ‘low’ or ‘high’ value creates an open-ended range.