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

dbTransformAccessDirection

dbTransformAccessDirection( 
x_dirCode 
t_orient 
)
=> x_dirCode / nil

Description

Transforms the given direction by the specified orientation and returns the corresponding access direction.

Arguments

x_dirCode

Access direction expressed as an integer.
4 (left), 8 (right), 1 (top), 2 (bottom), any summation of those values, and 0 (none). nil means unspecified and not 0.

t_orient

Specifies the orientation.

Value Returned

x_dirCode

Access direction expressed as an integer.
4 (left), 8 (right), 1 (top), 2 (bottom), any summation of those values, and 0 (none). nil means unspecified and not 0.

nil

Returns nil when the direction is unspecified.

Example

dbTransformAccessDirection(4 "R270")

Return to top
 ⠀
X