Adding Topics To Data Model Sections

Example—Add topics to a data model section

// add topics to DataModel section
CatItem = ActiveDocument.Sections["DataModel"].DataModel.Catalog.CatalogItems["PCW_ITEMS"]
ActiveDocument.Sections["DataModel"].DataModel.Topics.Add(CatItem)