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

dbGetPatchType

dbGetPatchType(
d_pathSegId
)
=> t_patchType / nil

Description

Returns the patch type for the specified path segment.

Arguments

d_pathSegId

Specifies the path segment ID.

Value Returned

t_patchType

Returns the patch type for the specified path segment. The patch type can be any of the following:

notPatch, beginStyle, endStyle, bothStyle, future, beginFull, endFull, bothFull.

nil

Returns nil if an error occurs (for example, invalid pathSeg ID).

Examples

ps = dbCreatePathSeg(cv "metal1" list(-1 0) list(0 1) .05 "truncate" "truncate")
t db:0x1f7b9c1a
dbGetPatchType(ps)
"notPatch"

Related Topics

Patch Functions


Return to top
 ⠀
X