Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

CATIA V5 Macro Text Properties

Status
Not open for further replies.

anthony71

New member
Jul 31, 2008
14
0
0
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..
 
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
 
Status
Not open for further replies.
Back
Top