I'm doing a vba macro on SW simulation 2023. I'm looking to retrieve the list of connectors, bolts or screws contained in a subfolder "Bolt Group 1" for example. I get the list of connectors and other charges included in the study but I can't get the files and sub-files of the study. Thank you for your help
I tried to explore this option in the help but I can't recover the folders of an assembly. As far as the files of a simulation study are concerned, I think it is accessible from another Interface but I can't find it. I tried to reach folders in these different objects:
Dim ActDoc As CosmosWorkslib.CWModelDoc
Dim StudyMngr As CosmosWorkslib.CWStudyManager
Dim Study As CosmosWorkslib.CWStudy
These are the examples I followed to retrieve the list of Connector Bolts but they don't mention the folders and folders in which they are created. I wonder if everything is accessible from the vba?
Thank you for these clarifications. Indeed, I didn't have access to it. So yes, the folders and features are well managed in a distinct way. I'm making progress in research...