basepointdesignz
Programmer
Hi,
I'm trying to write a small module in VBA that will create a selection set from a small section of a drawing and then copy the entities to a new location and then rescale them all to 0.4..
I've already coded the program to get the s.set but I can't seem to copy them. The help files say that you can't use the Copy method while iterating through a collection (the entities in the s.set). So how, do I do it?
Do I ReDim an array variable depending on the count of the s.set and then use a loop to send each entity to the array? If so, which loop would get the best results. I've tried all sorts but can't get the entities to copy.
Any suggestions?
Cheers,
Renegade..
I'm trying to write a small module in VBA that will create a selection set from a small section of a drawing and then copy the entities to a new location and then rescale them all to 0.4..
I've already coded the program to get the s.set but I can't seem to copy them. The help files say that you can't use the Copy method while iterating through a collection (the entities in the s.set). So how, do I do it?
Do I ReDim an array variable depending on the count of the s.set and then use a loop to send each entity to the array? If so, which loop would get the best results. I've tried all sorts but can't get the entities to copy.
Any suggestions?
Cheers,
Renegade..