This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

DeleteCustomAttribute()

Deprecated in 3.0.

Please use deleteCustomAttribute() method of NetObj class instead.

DeleteCustomAttribute(object, name): void

Delete custom attribute name from object.

Table 1. Parameters

object

Target object.

name

Name of the custom attribute.

Return
>>> DeleteCustomAttribute($node, "test")
>>> test@$node
null