Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi all
I am trying to add names to points imported from a STEP file. When I use the ModelItem.SetName(String) method I get an exception when the supplied String is set from a function, that returns a String.
SetName("NEWNAME"); //works ok.
String name ="NEW NAME";
SetName(name); //works OK
String name = method();//Method returns type String.
Setname(name); //throws an InvalidName exception
Any ideas to get around this?
TIA.
Bjarne Frandsen
(Pro/ENGINEER Wildfire 4.0 M170andWindchill 9.1M020 on Windows)
