Greetings,
I have written this function to get the Values of 2 specific attiributes in a block and put the values of those attributes in another block.
Everything works fine when I choose a block with those specific attributes. If I choose a block that does not have those attributes, I want to display the message "One or Both of the Part Number attributes not found in part block", instead the function just picks the attributes of a different block in the drawing and uses those.
There are 3 blocks in the drawing that have the invisible attributes that I want to find in the block and one block called FAKE that does not.
I have not been able to find my stupidity, hopefully someone can help me out here.
I have attached a drawing and BOMxfr20.lsp.
Thanks,
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
Henrique,
Your modifications have fixed the world! Thanks for taking the time to look it over.
Doug