Placing Filled regions using Excel Inputs

Hello all,

I created one script for placing filled region in plan. code working fine.But problem is when i reuse this code its not overwriting existed hatch. Any Idea about how to solve this…

(I am using excel inputs for this)107

check the below script for reference

this way I am giving filled region details through excel.