Help for INAWindow.CategoryByNAClassName needs to list the possible Name strings.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM010966
Submitted
August 14, 2007
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.2
Version Fixed
9.3
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Highlight the category you want to know the Name of, and then run the following code:Public Sub test() Dim pNetworkAnalystExtension As INetworkAnalystExtension Dim pNAWindow As INAWindow Set pNetworkAnalystExtension = Application.FindExtensionByName("Network Analyst") Set pNAWindow = pNetworkAnalystExtension.NAWindow MsgBox <a href="http://pNAWindow.ActiveCategory.NAClass.ClassDefinition.Name" target="_blank">pNAWindow.ActiveCategory.NAClass.ClassDefinition.Name</a>End SubIn our example, "CFRoutes" is returned for the NA Window item called "Routes".