Message 1 of 3
Is it possible to change attributes' values from VB6?
Not applicable
11-13-2000
10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
From my VB6 project , using ObiectDBX, I can read attributes' values without opening the draw. Can I edit(change) them also?
I tried something like:
Dim varattribs As Variant
varattribs = objblockref.GetAttributes
For i = 0 To UBound(varattribs)
If varattribs(i).TagString = attr_name Then
varattribs(i).TextString = attr_value
End If
Next i
....then I save the draw.
The varattribs variant array is filled but this code doesn't change the values of the attribute
What's wrong? Is it possible?
Tank you in advance for your help: It is very important for me to know (fast) if it is possible.
I tried something like:
Dim varattribs As Variant
varattribs = objblockref.GetAttributes
For i = 0 To UBound(varattribs)
If varattribs(i).TagString = attr_name Then
varattribs(i).TextString = attr_value
End If
Next i
....then I save the draw.
The varattribs variant array is filled but this code doesn't change the values of the attribute
What's wrong? Is it possible?
Tank you in advance for your help: It is very important for me to know (fast) if it is possible.