Extensibility > Graphics Builder Automation Interface > Library Object Functions > LibraryObjectPutProperty

LibraryObjectPutProperty

Sets the value of a specified property for the active genie. The field name is case-sensitive.

Syntax

LibraryObjectPutProperty(PropertyName, PropertyValue)

PropertyName:

The name of the property to be modified, as returned by the function LibraryObjectFirstProperty or LibraryObjectNextProperty.

PropertyValue:

The value to be written to the property as a string.

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

LibraryObjectPlace, LibraryObjectFirstProperty, LibraryObjectNextProperty, LibraryObjectName

Example

GraphicsBuilder.LibraryObjectPlace "include", "motors", "Motor_1_east", 1, True
GraphicsBuilder.LibraryObjectPutProperty "Tag", "My test genie"

Published June 2018