PROBLEM
UML Models created with a Visio 2003 template conflict with the ArcGIS 10 .dll files that Visio references.
Limitations are encountered when using the Semantic Checker in Visio 2003.
Visio 2003 and the library for the UML Semantic Checker are missing.
Visio 2003 does not accept the new library 'ESRI.ArcGIS.UmlSemanticsChecker.tlb' provided under the \ArcGIS\Desktop10.0\bin folder.
Note:
If planning to use Visio 2007 and the Visio 2007 template 'ArcInfo UML Model (Visio 2007).vst', the template contains the latest code change and works out-of-the-box.
Code:
Sub SemanticChecker()
Dim SemanticChecker As ESRI_ArcGIS_UmlSemanticsChecker.SemanticsChecker
Set SemanticChecker = New ESRI_ArcGIS_UmlSemanticsChecker.SemanticsChecker
SemanticChecker.StartChecker
End Sub
Visio 2003 VBE application
Note:
If the reference to 'ESRI ArcGIS UmlSemanticsChecker' is missing in the VBE References dialog box, browse to the reference 'ESRI.ArcGIS.UmlSemanticsChecker.tlb' located in the \ArcGIS\Desktop10.0\bin folder
Visio 2003 VBE references
Note:
This is needed to apply the changes to the UML model.
Note:
Remember that the Semantic Checker only works for the UML model modified and steps 1-4 have to be performed for each UML model to run the Semantic Checker.
HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGIS_SXS_SDK\Environments\Visio.exe
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ESRI\ArcGIS_SXS_SDK\Environments\Visio.exe
Note:
If the following keys are not set in the registry, they can be created.
System Registry
Article ID: 000010998
Get help from ArcGIS experts
Download the Esri Support App
You can also download the app to access the chatbot anytime! Download it now.