How to scale a cell using Python scripting

edited July 2016 in Python scripting
Hello,

I'm trying "Macro development" with python scripting.
I'd like to scale a cell, but I cannnot find the corresponding command.
Could you tell me the command or another way?
I'd appreciate it if you could answer my questions.

Regards,
Takeshi

Comments

  • edited November -1

    Hi Takeshi,

    if your case is simple and you have a layout containing a single cell, the solution will be Layout#transform(trans) where trans is an ICplxTrans object with a magnification.

    If your cell calls sub-cells there will be multiple solutions for scaling. You expectations matter: is it sufficient apply a magnification to the instances or do the child cells need to be scaled too? Will this require formation of variants? And so forth. There is not a single solution to the general problem.

    Matthias

  • edited November -1
    Hello Matthias,

    Thank you for your kind advice.
    I could solve the problem.

    Regards,
    Takeshi
Sign In or Register to comment.