How to use the macro hidden engineering drawing view 5 bending line and comment

Hello! How do I write a macro implementation hidden bending line, thank you!​​​​​​​