Code:
Language="VBSCRIPT"Sub CATMain()
Set analysisDocument1 = CATIA.ActiveDocument
Set analysisManager1 = analysisDocument1.Analysis
Set analysisModels1 = analysisManager1.AnalysisModels
Set analysisModel1 = analysisModels1.Item(1)
Set analysisSets1 = analysisModel1.AnalysisSets
Set analysisMeshManager1 = analysisSets1.ItemByType("MSHMeshSet")
Set analysisMeshParts1 = analysisMeshManager1.AnalysisMeshParts
Set analysisMeshPart1 = analysisMeshParts1.Item("OCTREE Tetrahedron Mesh.1 : Pruefkoerper_V3.1")
Set analysisEntities1 = analysisMeshPart1.AnalysisEntities
Set analysisEntity1 = analysisEntities1.Add("MSHLocalMeshImposedPoints")
Set analysisLinkedDocuments1 = analysisManager1.LinkedDocuments
Set productDocument1 = analysisLinkedDocuments1.Item(1)
Set documents1 = CATIA.Documents
Set partDocument1 = documents1.Item("Pruefkoerper_V3.CATPart")
Set part1 = partDocument1.Part
Set analysisMeshLocalSpecification1 = analysisMeshPart1.GetItem("CATIAAnalysisMeshLocalSpecification1058")
Set analysisMeshPart1 = analysisMeshLocalSpecification1.Parent
...