×
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!

*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

Mirrored Extent Option enable for 3D line in CATIA VBA

Mirrored Extent Option enable for 3D line in CATIA VBA

Mirrored Extent Option enable for 3D line in CATIA VBA

(OP)

Hi siva

This is regarding Mirrored Extent Enable Option for 3D line in CATIA R24

I had used the following syntax for surface to get mirrored extent.

surface1.SymmetricalExtension = 0

likewise what is the code for mirror extend for 3D LINE in Catia?

i tried using same as in surface with setsymmetricalextension

line1.setsymmetricalextension = 0

but i get compile error: argument not an option.

Advises please, thanks in advance

RE: Mirrored Extent Option enable for 3D line in CATIA VBA

I don't see that option in the line creation, only 2 offset values.

Func AddNewLinePtDir( Reference iPt,
HybridShapeDirection iDirection,
double iBeginOffset,
double iEndOffset,
boolean iOrientation) As HybridShapeLinePtDir

This works but be sure your beginoffset value is 0 and your desired length is the endoffset value.

CODE --> CATVBA

Set hybridShapeLinePtDir1 = hybridShapeFactory1.AddNewLinePtDir(reference1, hybridShapeDirection1, 0, 60, False)

hybridShapeLinePtDir1.SetSymmetricalExtension (1) 

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! Already a Member? Login


Resources

eBook - The Future of Product Development is Here
Looking to make the design and manufacturing of your products more agile? For engineering and manufacturing organizations, the need for digital transformation of product development processes just became more urgent than ever so we wanted to share an eBook that will help you build a practical roadmap for your journey. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close