Message 1 of 3

Not applicable
06-24-2015
05:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Sir an Madam, I am working with a robot model that uses the phases option. There are seven phases in the model. Inside a VBA programm, I need to read the forces in some given bars. I usually use the following lines in order to select the load case I am interrested in : Dim ListOfCases As IRobotCaseCollection Dim CurrentCass As IRobotCase Set ListOfCases = RobApp.Project.Structure.Cases.GetAll() Set CurrentCase = ListeDesCas.Get(CaseNumber) If CaseNumber equals 1 (corresponding to the dead load of the first phase), everything works fine, but if CaseNumber equals 2001 (default case number that was copied from the first existing phase to the second phase), then I reveice the following error message : "&H80004005 2147467259 unspecified error". How can I proceed to select a load case when the structure is composed of many phases ? Best regards, Pierre Collé
Solved! Go to Solution.