×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

CATIA V5 Macro Text Properties

CATIA V5 Macro Text Properties

CATIA V5 Macro Text Properties

(OP)
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..

RE: CATIA V5 Macro Text Properties

@anthony71
The line of code below works for me:

CODE --> catvba

drawingText1.TextProperties.Mirror = catTextHorizontalFlip 

Drew Mumaw
www.textsketcher.com
www.drewmumaw.com

RE: CATIA V5 Macro Text Properties

(OP)
thanks a lot drewmumaw!!..it works now...the error was "Mirroring" the right is "Mirror" ...
Do you know the right input for text orientation?

RE: CATIA V5 Macro Text Properties

you can rotate text like this

CODE --> catscript

'CreateTextAF (Text_04,GetOH()+Col(1)-160  ,GetOV() + Row(4)+63 ,"TitleBlock_Text_EnoviaV5_Effectivity" ,catMiddleCenter,3.5 &t).Angle=90 

RE: CATIA V5 Macro Text Properties

(OP)
Thanks a lot to everybody!!...Now the Script works properly!!...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources