Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Sep 5, 2023
Messages
1
Location
VN
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.
 
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

Back
Top