Message 1 of 2
Not applicable
06-18-2019
08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I am trying to compile a Robot macro to change design standards (and databases etc.) in existing models. So far I managed to write a script which does change the standard (see example below) but it only works if the standard is already loaded into to "Current codes:" list - please see picture below. If the standard is not loaded (manually) into current codes the script does not work (e.g. if I changed the "BS 5950:2000" to "ANSI/AISC 360-05" it would not work.).
Is it possible to change the standard with an API code to another standard which is not in the Current Codes list? Or is it possible to script the loading process to the current codes?
Thank you!
Sub ChangeCode() Dim Robot As New RobotApplication Robot.Project.Preferences.SetActiveCode I_CT_STEEL_STRUCTURES, "BS 5950:2000" End Sub
Solved! Go to Solution.
