katto01 Posted July 10, 2023 Posted July 10, 2023 Hello, Q1. Is there a list of the objects that can be used in the line "if obj Typeof is xxxx?" Q2. how to change a polyline width using VBA? I understand that there are many types of polylines so this is why I asked Q1. Thank you Quote
PeterPan9720 Posted July 10, 2023 Posted July 10, 2023 Hi @katto01, if you define the variable which do you want to check as object and right click on mouse thenbwill be showed all types. sub mychck() dim Myobject as object 'get your object as you want by selection or picking on screen. if typeof Myobject is Acadtext then 'do something end if end sub Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.