Results 1 to 2 of 2

Thread: CG Script GetXSize(name) ?

  1. #1

    CG Script GetXSize(name) ?

    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 ?

    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	vertical.jpg 
Views:	366 
Size:	19.4 KB 
ID:	90047  

  2. #2
    R&D, Taiwan animlab's Avatar
    Join Date
    Aug 2003
    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.
    Chen Pan
    AnimLab, Taiwan


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts