Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbGetRouteAuthor

dbGetRouteAuthor(
d_routeId
[ g_getSubAuthor ]
)
=> t_authorType / l_authorAndSubAuthorType

Description

Returns the author and, optionally, the sub-author, type of the specified route.

Arguments

d_routeId

Database ID of the route.

g_getSubAuthor

Boolean specifying whether the sub-author type of the route must also be retrieved.

Value Returned

t_authorType

Author type of the specified route.

l_authorAndSubAuthorType

List of author types and sub-author types.

Examples

Creates a new route.

rt1 = dbCreateRoute(MainCV mainNet t "normal")
db:0x1f7b9c1a

Retrieves the author type of the route rt1.

dbGetRouteAuthor(rt1)
=> "Manual"

Retrieves the author type of the route rt1.

dbGetRouteAuthor(rt1 nil)
=> "Manual"

Retrieves the author and sub-author type of the route rt1.

dbGetRouteAuthor(rt1 t)
=> ("Manual" "None")

Related Topics

dbEnableRouteObservers

Interconnect Functions


Return to top
 ⠀
X