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

dbCreateTrunk

dbCreateTrunk(
t_name
d_topologyId 
t_direction 
)
=> d_trunkId / nil 

Description

Creates a trunk pattern on the specified topology with the given name and direction.

Arguments

t_name

The name of the new trunk pattern.

d_topologyId

The topology ID on which the trunk pattern is created.

t_direction

The direction of the new trunk pattern. Valid direction values are horizontal and vertical.

Value Returned

d_trunkId

The ID of the new trunk pattern.

nil

The trunk pattern creation failed.

Examples

trunk1 = dbCreateTrunk("trunk1" top1 "horizontal")
trunk2 = dbCreateTrunk("trunk2" top1 "vertical")

Related Topics

Topology Pattern Database Access Functions

dbDeleteTrunk


Return to top
 ⠀
X