Follow us on Facebook Follow us on Twitter Flickr Watch us on YouTube
Register
Results 1 to 2 of 2
  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 ?

    Roland
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

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

  2. #2
    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
    http://www.animlab.com
    animlab at ms1 dot hinet dot net
    =============

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:17 AM.
Powered by vBulletin® Version 4.2.0
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Copyright 2000-2012, NewTek
vBulletin Skin By: PurevB.com