Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Interact with Roughness Symbol in CATIA Drawing using VBA (V5R28)

Status
Not open for further replies.

andypham99

Mechanical
Sep 5, 2023
1
Hello, thank you for reading this question.

I have a case where i want to interact with the roughness symbol in CATIA Drawing (V5R28) using VBA. In this case, i want to get the value of the roughness symbol and also be able to set the pos X and Y
I have try multiple solutions including Typename(CATIA.ActiveDocument.Selection.Item2(1).value) - CATIA.ActiveDocument.Selection.Item2(1).Type, in which i receive only the name is "DrawingView".
I have try to use the Selection Search but only be able to select the roughness symbol - not be able to interact further. Is there any suggestion or solution to this problem. Thank you very much.
 
Replies continue below

Recommended for you

Not possible.

When you select drawing element that is not exposed to Automation you get DrawingView in Selection.Item().Value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor