Limits Clipping in Draw Module at View Level fails

Dear Experts,

Is there any one who get some solution in creating view using defined limits and drawlist using Macro?

I have created one macro for same but it fails to clip the view in elevation, that is showing some of the members beneath that lower limits and above view's Upper Limits.

Will be helpful if any suggestion can be shared.

Regards,