The code i tried line collection under entity collectionI want to change the colors / layers of different linetypes (continuous / dashed/ center) in autocad drawing using VBA. I tried to collect all the entities and filter them! but no success!
Gotcha! Instead of collecting linetypes i had to use Iacadline2 and then filter based on names. Code works fine now.