×
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

Access the position of a dimension withing a DrawingView (VBA or VB.net, CATIA V5R21)

Access the position of a dimension withing a DrawingView (VBA or VB.net, CATIA V5R21)

Access the position of a dimension withing a DrawingView (VBA or VB.net, CATIA V5R21)

(OP)
Hello,

I would like to access the position (X and Y Coordinate) of a dimension within a DrawingView. The thing is that for example always the top dimension (with the highest Y value) is related to one specific line and I need to access that dimension. (I need to identify that particular dimension) I hope I made my problem clear. Accessing the coordinates should be possible, right? I believe so, since the mydimension.moveValue method can position the value to a specific X and Y coordinate within the view.

If there are other ways or if you can think of workaround to identify the Dimensions, please let me know!

Thank you for your help!

RE: Access the position of a dimension withing a DrawingView (VBA or VB.net, CATIA V5R21)

The GetBoundaryBox method on the DrawingDimension object will retrieve the X/Y location values of each corner of a rectangle surrounding each DrawingDimension value.

--Doug

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