ccCopyFig
ccCopyFig(o_shape[ ?cvd_cellViewID] [ ?lppg_lpp] [ ?transforml_transform] ) =>o_shape2/ nil
Description
(Virtuoso Photonics Option) Copies the specified ccShape object to the specified cellview and layer-purpose pair (LPP) by using the specified transform. The copied cellview and LPP default to the ones of the source ccShape.
The ccShape object copy is transient (without any OpenAccess geometry attached) even when the source oaShape is persistent (with OpenAccess geometry attached).
Arguments
|
A layer or a layer-purpose pair in the specified cellview in the following format: |
|
|
A transformation object in the following format: |
|
Value Returned
Example
arc = ccCreateLine(cv "metal"
ccCreatePolyCurve(list(list(ccCreateCurve("cos(t)" "sin(t)"
0:3.14159265)))))
> cc@0x271bf960
;Create OpenAccess geometry
ccGenFigs(arc)
> (db:0x225edc9a)
arc~>figs
> (db:0x225edc9a)
arc2 = ccCopyFig(arc ?transform list((0:0) 90))
> cc@0x290dba90
;Check whether the OpenAccess geometry of the copied figure is empty
arc2~>figs
> nil
arc2~>beginPt
> (0.0 1.0)
arc2~>endPt
> (0.0 -1.0)
Related Topics
Return to top