Page 1 of 1
[TS6] [VB 2010]: .GetTextProperty of property group
Posted: Mon Feb 12, 2018 10:19 am
by Holzknoten
working for single proberties
.getTextProperty("prop1")
.SetTextProperty("prop1","value")
how to get/set property of a group of properties
Does not work for...
.getTextProperty("Gruppen-Bauteileigenchaften")

With this i got only the first property "Hersteller"
How to get/set second property "Bestell-Nr"

Re: [TS6] [VB 2010]: .GetTextProperty of property group
Posted: Wed Mar 06, 2019 5:13 pm
by Holzknoten
*PUSH*
I got this code from my BOM-Files for the first four propertys of property-group:
Code: Select all
"DEF=<PROP|Gruppen-Bauteileigenschaften,0>"
"DEF=<PROP|Gruppen-Bauteileigenschaften,1>"
"DEF=<PROP|Gruppen-Bauteileigenschaften,2>"
"DEF=<PROP|Gruppen-Bauteileigenschaften,3>"
I try this VB-Code to get the third property of property-group
Code: Select all
MsgBox( TopElt.GetTextProperty("$PROP|Gruppen-Bauteileigenschaften,2"))
MsgBox( TopElt.GetTextProperty("Gruppen-Bauteileigenschaften,2"))
MsgBox( TopElt.GetTextProperty("Gruppen-Bauteileigenschaften|2"))
Nothing works.

I got only the first property of property-group
Code: Select all
MsgBox( TopElt.GetTextProperty("Gruppen-Bauteileigenschaften"))
Any new infos about this problem? How to get the other propertys of property -group?