Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How do I get the selectset properties during command execution?
My macro code is as follows:
Public Sub selectset()
MsgBox "The cout of selectset is: " & ThisApplication.ActiveDocument.selectset.Count
End Sub
First, I draw a rectangle in the sketch, then I execute the offset command, then I select 2 edges of the rectangle, and finally I run the macro mentioned above, the result is 0.
How to get the selectset property in the command execution process ? For example, get the selectset count during the execution of the offset command.
Solved! Go to Solution.