PDA

View Full Version : Can I use a macro to select certain objects?



YZ
21st Jul 2010, 01:21 am
So far I have been unsuccessful at attempting the following:

1. A button that selects and erases all points in a model.

2. A button that selects all blocks in a model and brings them to front.

Anything to do with SELECT or QUICKSELECT in a macro have left me baffled. I am certain it is possible, and it will be a major breakthrough for us if anyone can help out.

Pablo Ferral
21st Jul 2010, 01:32 pm
I think that this might be beyond the scope of LT. 'QSELECT' and 'FILTER' don't have command line equivalents, so they can't be used in a macro. 'SELECT' Can be used, but I can't see any option to filter the results.

You can do this fairly quickly using the properties pallette or by useing the 'QSELECT' or 'FILTER' commands.

I'd like to hear from anyone with a better idea!

YZ
5th Aug 2010, 01:22 am
You can do this fairly quickly using the properties pallette or by useing the 'QSELECT' or 'FILTER' commands.

Thanks Pablo. I think you are correct that a macro cannot handle this.

What do you mean about it being quick when using a palette? Could I set a standard QSELECT criteria to be a button on the tool palette?

alanjt
5th Aug 2010, 02:52 am
Does 2011 LT have Action Recorder?

YZ
5th Aug 2010, 05:02 am
Does 2011 LT have Action Recorder?

Sadly no, LT does not have action recorder. I tried once to import some recorded actions from a full version, but this does not work either.

alanjt
5th Aug 2010, 05:44 am
Sadly no, LT does not have action recorder. I tried once to import some recorded actions from a full version, but this does not work either.That sucks. I think you're SOL. Sorry dude. QSelect and Filter won't work in macros and LT says no to LISP.

YZ
5th Aug 2010, 06:43 am
Well it is good to know for sure, and put this project to rest.

I will also contact Autodesk about a command line option for these.

Excuse my ignorance, what is SOL?!

alanjt
5th Aug 2010, 01:17 pm
sh** outta luck.

Pablo Ferral
5th Aug 2010, 09:00 pm
Properties palette - not tool palette... Have a play with it and tell us how you get on.