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

dbSetPatchType

dbSetPatchType(
d_pathSegId
t_patchType
)
=> t / nil

Description

Sets the patch type for the specified path segment.

Arguments

d_pathSegId

The database ID of the path segment.

t_patchTypeurpose

Specifies the patch type for the path segment. The valid patch types are given below.

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

Value Returned

t

The patch type for the path segment was successfully set.

nil

nil is returned if the patch type was not set.

Examples

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

Related Topics

Patch Functions


Return to top
 ⠀
X