Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

vfoConvertToPolygon

vfoConvertToPolygon( 
g_obj
d_instId
[ @rest l_args ]
) 
=> t / nil

Description

Converts the fluid shape of the given instance to a polygon. This is used for instances containing path type fluid shape. The Convert to Polygon command for fluid Pcells does not pass these arguments. This function updates the relevant Pcell parameters.

Arguments

g_obj

An instance of the vfoAbstractClass SKILL++ class or any of its subclasses.

d_instId

The instance ID on which the operation is invoked.

l_args

List of optional arguments that can be passed to the function.

Value Returned

t

The fluid shape has been converted to a polygon.

nil

The fluid shape could not be converted to a polygon.

Example

In the following example, inst is the fluid Pcell instance to be converted.

obj = vfoAllocateProtocolObj(inst)
=> stdobj@0x148e90e4
vfoConvertToPolygon(obj inst)
    => t

Return to top
 ⠀
X