Skip to main content

IObject.SetTag method

Namespace: NextDesign.Core

Description

Sets a tag with the specified tag name/value.

  • Add a tag if no tag exists that matches the tag name
  • Change the value if a tag matching the tag name exists

argument

NameTypeDescription
tagstringtag name
valuestringTag value
If not specified, sets the tag to be evaluated only by the presence or absence of the tag.

Return value

  • void

Annotations

This API does not check edit permissions, so you can edit tags even for read-only models.
Tags you set for read-only models are not saved, so tag edits are lost when you close the project.