vfoChopInstance
vfoChopInstance(g_obj d_instId chopShapeData[ @restl_args] ) => t / nil
Description
Chops the fluid shape of a given instance. The information of the chop rectangle or polygon is provided by chopShapeData which is a class object of vfoShapeData. The shape data points are in the design coordinates. This function transforms the chopShapeData before chopping the fluid shape.
Note: The Chop command for fluid Pcells does not pass these arguments. This function updates the relevant Pcell parameters. If the chop operation results in multiple shapes, it may need to create multiple Pcell instances.
Arguments
|
An instance of the |
|
|
List of optional arguments that can be passed to the function. |
Value Returned
|
The fluid shape of the given instance has been successfully chopped. |
|
Example
Create a shape data object as following:
shapeData = vfoCreateShapeData("rect" '((2 2) (3 1))) => stdobj@0x148e90d8
obj = vfoAllocateProtocolObj(inst) => stdobj@0x148e90e4
vfoChopInstance(obj inst shapeData) => t
In the above example, the points of the chop shape are specified using the shapeData function. inst is the fluid Pcell instance to be chopped.
Return to top