CiCAD Posted July 5, 2011 Posted July 5, 2011 can anyone help me i am writing a macro for a new tool bar i would like to navigate through the qselect command. i want to be able to qselect a specific layer without having to manually go through the qselect menu. i require this so as i can write more of the macro after this step... Does this make sense? The macro will be something like; ^C^C-LAYER;SET;Qselect; etc etc how do i write to Select specific layer equal to, the rest of the macro will be something like explode etc etc Quote
BIGAL Posted July 5, 2011 Posted July 5, 2011 If you use lisp etc then you can just pick an existing object and get its layer then do what ever you want to that layer is that what you want? just look up help "entsel" & assoc 8 Quote
CiCAD Posted July 5, 2011 Author Posted July 5, 2011 exactly what i am wanting to acheive is writing a custom toolbar command where i set my layer to a specific layer first. then using qselect select a specific layer. example is i have text i want to explode but do not want to explode it until a final process before i save it to dxf. so using qselect i want to select this specific layer the explode the text into polylines. now i have a few variations of this methods between text and certain sized circles/holes. now if i can work outhow to write a macro so as i can navigate through qselect to select specific layer equal to then to do the whole process with one or two clicks would save me much time. Quote
YZ Posted July 5, 2011 Posted July 5, 2011 I am almost certain that you cannot use a macro with the QSELECT command, unless you "\" pause for user input and navigate the dialog box manually. I cannot use lisp due to LT, but I would say that if you can then BIGAL is correct and LISP will hold more promise for you. Quote
SLW210 Posted July 6, 2011 Posted July 6, 2011 _selectsimilar>SEttings only tick the LAYER box, then, _selectsimilar, then, select an object on the layer. Quote
CiCAD Posted July 6, 2011 Author Posted July 6, 2011 i type this into the command line to see what it does and i get nothing............... 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.