Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoramarkr
    • CommentTimeAug 23rd 2017
    I want to know how can I know all the parameters like position, rotation and mirror of a pcell in a gds file from the code in ruby.

    • CommentAuthorMatthias
    • CommentTimeAug 26th 2017 edited

    Hi Amar,

    the standard properties are accessible through Instance#trans or (more general) Instance#cplx_trans. The properties deliver transformation objects that you can ask for rotation angle, displacement vector, magnification etc.

    Can you give an example of your code?


    • CommentAuthoramarkr
    • CommentTimeAug 28th 2017 edited
    Hi Matthias,
    Thanks for the help. I was able to figure this out. I just had to use
    inst.trans.disp.x -> for getting x position
    inst.trans.disp.y -> for getting y position
    inst.trans.angle -> for getting angle

    where inst is an instance in the parent cell.