Continue to Site

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!

Selected annotated view name to string

Status
Not open for further replies.

iscariot

Mechanical
Oct 15, 2009
154

I really need help with this :(
How can I get (in a string) the name of the selected annotated view ? or maybe the item number?
I would really apreciate the help.
 
Replies continue below

Recommended for you

In case that other will need it :)
' Get the name of the selected annotation view
Dim AnnSelection as Selection
Set AnnSelection = CATIA.ActiveDocument.Selection

Dim str2DViewName As String
str2DViewName = AnnSelection.item2(1).Value.Name

msgbox str2DViewName
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor