Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 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
Jul 31, 2008
14
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..
 
Replies continue below

Recommended for you

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