[TS6] [VB 2010]: .GetTextProperty of property group

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, jacs, Daniel

Holzknoten
Master Corporal
Master Corporal
Posts: 43
Joined: Fri Apr 29, 2011 7:16 am
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.17
Location: Hannover
Contact:

[TS6] [VB 2010]: .GetTextProperty of property group

Unread post by Holzknoten »

working for single proberties :idea:
.getTextProperty("prop1")
.SetTextProperty("prop1","value")


how to get/set property of a group of properties :?:
Does not work for...
group_of_props.PNG
.getTextProperty("Gruppen-Bauteileigenchaften") :arrow: With this i got only the first property "Hersteller"

How to get/set second property "Bestell-Nr" :?:
by Holzknoten
Holzknoten
Master Corporal
Master Corporal
Posts: 43
Joined: Fri Apr 29, 2011 7:16 am
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.17
Location: Hannover
Contact:

Re: [TS6] [VB 2010]: .GetTextProperty of property group

Unread post 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.

Image
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?
by Holzknoten
Post Reply