• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

difference selectionsets in vba and vb6

  • Thread starter Thread starter tiziano69
  • Start date Start date

tiziano69

Guest
Good morning, I have a vba program that works regularly, I tried to bring it to vb6 but "adss" does not fill with drawing objects, I tried in all ways but I failed. Why?

dim adss as autocad.acadselectionset
dim adtext as autocad.acadentity

set adss = thisdrawing.selectionsets("adss") 'Cause it doesn't fill up ftype(0) = -4: fdata(0) = "<or"
ftype(1) = 0: fdata(1) = "text"
ftype(2) = 0: fdata(2) = "mtext"
ftype(3) = -4: fdata(3) = "or>"
'ftype(0) = 0: fdata(0) = "text"
'ftype(1) = 0: fdata(1) = "mtext"

adss.select acselectionsetall, , , ftype, fdata

for each adtext in adss
pt = adtext.insertionpoint
........
........
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top