CG Script GetXSize(name) ?

Roland2

New member
I try to write a script to center vertical written lines in CG vertically, but
ysize = GetYSize(name) give me only 1.000000 back and not the real size of the box namend name.

And how is the prozess that the script give me the name of the currently
selected box ?

Roland
 

Attachments

  • vertical.jpg
    vertical.jpg
    19.4 KB · Views: 578
What program are you using? CGDesign in VT or LiveText?

Bsasically you needed to name your text object first. It can be done on "Layer" tab. then use that name in GetYSize(name) command.
 
Top Bottom