0 Members and 1 Guest are viewing this topic.
I would approach the task more like this:
I would just remove the initget entirely. So it ask for a selection and makes a copy. If nothing is selected it will then use the select all option on the current tab. could use some error handling if nothing is selected from the select all option.
Tested the code inside BricsCAD Should work now.