Message 1 of 2
How can I remove a object from a array?
Not applicable
02-02-2002
01:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hallo,
I have a acad 2000-drawing and I need a special array from objets with VBA.
1. I have select in the drawing the last object with:
sset.Select acSelectionSetLast
It is always a block!
2. then I exploded the block with: vntObjectExploded = objBlock.Explode
and count the objects in vntObjectExploded (for example: 8)
3. so I have 8 objects in the array vntObjectExploded
4. now must one or two objects (AcmPartRef) from THIS array delete
How I can do it?
With the new array I create a new block.
Who can help me?
Thanks
Hartmut Callies
I have a acad 2000-drawing and I need a special array from objets with VBA.
1. I have select in the drawing the last object with:
sset.Select acSelectionSetLast
It is always a block!
2. then I exploded the block with: vntObjectExploded = objBlock.Explode
and count the objects in vntObjectExploded (for example: 8)
3. so I have 8 objects in the array vntObjectExploded
4. now must one or two objects (AcmPartRef) from THIS array delete
How I can do it?
With the new array I create a new block.
Who can help me?
Thanks
Hartmut Callies