×
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

How to use TailEnd property of an arrow in CATVBA?

How to use TailEnd property of an arrow in CATVBA?

How to use TailEnd property of an arrow in CATVBA?

(OP)
Hi,

I have instantiated 2D component in drawing sheet. I want to attach an Arrow (Drawing Arrow) to it using CATVBA so that 2D component will be associative with arrow.
I tried to use TailEnd property of Arrow, but it did not work.

Dim o2DComponents As DrawingComponents
Set o2DComponents = dvView.Components

Dim o2DComponent As DrawingComponent
Set o2DComponent = o2DComponents.Add(Ditto1, DittoCoordinates(0), DittoCoordinates(1))

Dim drArrow As DrawingArrow
Set drArrow = dvView.Arrows.Add(Arrow(x), Arrow(y), o2DComponent.X, o2DComponent.Y)

drArrow.TailTarget = o2DComponent

Please suggest how to make arrow(DrawingArrow) associative with 2DComponent(DrawingComponent).

Regards,
Mandar

RE: How to use TailEnd property of an arrow in CATVBA?

(OP)
Hi,

I tried adding arrow with reference to 2DComponent instance in drawing sheet and found that the arrow remains associative with 2DComponent.
If i do it using catvba, arrow and 2DComponent remains non-associative. Is there any way to make these two objects associative?

Regards,
Mandar

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