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.
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.
Comments
Hi Takeshi,
if your case is simple and you have a layout containing a single cell, the solution will be
Layout#transform(trans)
wheretrans
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
Thank you for your kind advice.
I could solve the problem.
Regards,
Takeshi