Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

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

Status
Not open for further replies.

MarcoSFO1

New member
May 4, 2017
1
DE
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!
 
Replies continue below

Recommended for you

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top