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

dbSetFullPatch

dbSetFullPatch(
d_pathSegId
g_value
)
=> t / nil

Description

Adds or removes the full style patch type for the specified path segment depending on the argument g_value. Path segment needs to have at least one property among beginStyle or endStyle or both to set the full style patch type.

Arguments

d_pathSegId

The database ID of the path segment.

g_value

Value of the patch type.
Set to true to set the full style for the path segment. Else, set to false to unset it.

Value Returned

t

The patch type for the path segment was successfully set to full style.

nil

nil is returned if the patch type was not successfully set.

Examples

ps = dbCreatePathSeg(cv "metal1" list(-1 0) list(0 1) .05 "truncate" "truncate") db:0x1f7b9c1a
dbSetBeginPatch(ps t) => t
dbGetPatchType(ps) => beginStyle
dbSetEndPatch(ps t) => t
dbGetPatchType(ps) => bothStyle
dbSetFullPatch(ps t) => t
dbGetPatchType(ps) => bothFull

Related Topics

Patch Functions


Return to top
 ⠀
X