When adding a property to an Object using the code below, you can get the Value of the string by Place = Loc.DriveTo. How can a person get the “City”, “Eats” value?
Thanks
Dan
Code: Select all
Loc.addProperty("App::PropertyString", "DriveTo", "City").DriveTo = "New York"
Loc.addProperty("App::PropertyString", "DriveTo", "Eats").DriveTo = "Hanks Bar"
Place = Loc.DriveTo