Hi!
I have a question about RapidSymbolSearch. I cannot get the second parameter in the SearchRapidSymbol call to work. I have a search that should find all the robtargets in a module. The search looks like:
ABB.Robotics.Controllers.RapidDomain.RapidSymbolSearchProperties p = ABB.Robotics.Controllers.RapidDomain.RapidSymbolSearchProperties.CreateDefault();
p.Types = ABB.Robotics.Controllers.RapidDomain.SymbolTypes.Variable;
ABB.Robotics.Controllers.RapidDomain.RapidSymbol result = module.SearchRapidSymbol( p,“robtarget”,“.*” );
If I read the User Guide correctly I think that this should find all robtargets in the module? I have tried to change the 3:rd parameter to “string.Empty” but the result is the same. The Regular expression seams to work, all my robtargets end with “Target” and if I changes the 3:rd parameter to “.*Target” I get what I’m looking for, but that is not a solution that will work for very long.
Does the 2:nd parameter not work in the current implementation of RAB? Or am I doing something incorrectly?
BR
Mikael