addCustomProperty(parentPath, name, dataTypeName, description, units, productionVisible, required, value)
String parentPath - The path of the parent to add the custom property to.
String name - The name of the custom property to add.
String dataTypeName - Name of the Ignition data type to make the new custom property. Options: Int1, Int2, Int4, Int8, Float4, Float8, Boolean, String, DateTime, Text, Int1Array, Int2Array, Int4Array, Int8Array, Float4Array, Float8Array, BooleanArray, StringArray, DateTimeArray.
String description - The description of the custom property.
String units - The units of the new custom property. This is just for reference.
boolean productionVisible - The default is false. If True, show the custom property in various components. If False, it will be hidden and can be used to store values behind the scenes.
boolean required - If True, a value must be assigned to the custom property before and segment is ended.
String value - The value to assign to the custom property after it has been added. Note that this value is cast to a string, even if the custom property is not a string.
Nothing
All