Showing results for 
Search instead for 
Did you mean: 

Name of Blocks?

Valued Contributor
Valued Contributor

Hi every one.


I'm trying to make a macro to count and list the blocks used in a DFT file.


I got the count part working using Object.BlockOccurences.count


But I have no idea hot to get their names. Using BlockOccurences(i).name only lists:


BlockOccurrence 564

BlockOccurrence 828

BlockOccurrence 1705...


What I really need in the end is to list:


Block A was used x times

Block B was used y times

Blcok C ...


Any one has any idea how to access a block name?


Thank you!



Posted by: Anderson Baptista
Post date: 11/27/2006 12:48:04 AM