Hi,
Is there a faster way to delete elements than:
cLines = UBound(oldElements) For iLines = 0 To cLines ActiveModelReference.RemoveElement oldElements(iLines) Next iLines
With 8086 elements it takes forever..
Thanks,/T
Hi Torben,
see this discussion: A workaround is to create named group, add all elements to this group and to use the named group to select and delete elements.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Answer Verified By: Torben
Thanks.
Please note that I have not tested the named-group solution, but it sounds like a faster way of deleting elements.
I still wish we had the missing bit in this puzzle:
System: Win7 64bit 16GB Ram - microStation V8i SS3 08.11.09.578. + PoinTools CONNECT. - Intel i7-4800MQ CPU@2.70GHz, 4 core / 8 Logic proc.