Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATIA V5 Macro Text Properties

Status
Not open for further replies.

anthony71

New member
Joined
Jul 31, 2008
Messages
14
Location
IT
Hi,

I'm trying to make a Macro for Drawing Title Block.
I can't applied the following proprieties to my new text (will be the drawing number):
Flip Mode (Horizontal);
Orientation (Vertical).

For the Flip Mode I've tried with this input in the Script:

Dim Tex1Prop As Drawing TextProperties

Set Tex1Prop = MySheetNum.TextProperties
Tex1Prop.Mirroring = catTexHorizontalFlip
But it doen't work..

For text Orientation I have no ideas..

Someone could kindly help me?

thanks a lot..
 
thanks a lot drewmumaw!!..it works now...the error was "Mirroring" the right is "Mirror" ...
Do you know the right input for text orientation?
 
you can rotate text like this
Code:
 'CreateTextAF (Text_04,GetOH()+Col(1)-160  ,GetOV() + Row(4)+63 ,"TitleBlock_Text_EnoviaV5_Effectivity" ,catMiddleCenter,3.5 &t).Angle=90
 
Thanks a lot to everybody!!...Now the Script works properly!!...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top