GetAllConfigurations is obsolete
I have moved a add in from 5.13 to 5.14 and the function GetAllConfigurations is now obsolete. But what should I use instead?
I want to get all possible configuration for a target with a tool for a specific robot and the old function did what I wanted. But the performance of the function was very bad and I saw in the release nots for 5.14 that this should have been improved and I'm eagerer to test it.
Will the improvement affect the old function GetAllConfigurations or should I use something else?
0
Comments
-
Hi Patrik,some of the overloads have been obsoleted, but there are other overloads that you shall use instead.For example [code]publicConfigurationData[] GetAllConfigurations(RsTarget target, RsToolData tool, bool includeTurns)
[/code]Which overload are you using now?0 -
I'm using the one below
ConfigurationData[] GetAllConfigurations(RsTarget target, RsToolData tool)What does the boolean includeTurns represent?0 -
Hi,axis 6 for example can rotate more than 360 degrees. If you specify true for includeTurns, you will also get configurations "outside" the first revolution.If you specify false, you will only get the base configurations.In the Configurations... user interface in 5.14 there is a checkbox with the same name (Include Turns). Using the user interface you can get a visual understanding of the API function.0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings