Author Topic: Macro to put 'FloorPlan' on Back?  (Read 1796 times)

0 Members and 1 Guest are viewing this topic.

craigr

  • Guest
Macro to put 'FloorPlan' on Back?
« on: December 18, 2007, 10:44:54 AM »
We often import Building Floor Plans into our Title Blocks and put them on a layer called 'FloorPlan'. We then put our markups over them.

At times, the markups show up underneath the 'FloorPlan'.

Is there a way that thru a macro,  I could make 'FloorPlan' always be 'Back'?

craigr

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Macro to put 'FloorPlan' on Back?
« Reply #1 on: December 18, 2007, 11:12:13 AM »
do you have qselect as a command in LT?
Nevermind, there is no command line version
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

deegeecees

  • Guest
Re: Macro to put 'FloorPlan' on Back?
« Reply #2 on: December 18, 2007, 11:38:06 AM »
Check the DRAWORDER command.

Kate M

  • Guest
Re: Macro to put 'FloorPlan' on Back?
« Reply #3 on: December 18, 2007, 12:32:58 PM »
do you have qselect as a command in LT?
Nevermind, there is no command line version
But yes, it's there. :)

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Macro to put 'FloorPlan' on Back?
« Reply #4 on: December 18, 2007, 02:42:26 PM »
Kate, are saying qselect is there, or yes, there is a command line version?
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Kate M

  • Guest
Re: Macro to put 'FloorPlan' on Back?
« Reply #5 on: December 18, 2007, 02:56:11 PM »
Sorry, QSELECT exists in LT, but no command-line versions are anywhere, as far as I know.

craigr

  • Guest
Re: Macro to put 'FloorPlan' on Back?
« Reply #6 on: December 19, 2007, 06:59:18 AM »
The perfect answer to this would be if Autodesk had something in the Layer Manager that one could set a particular layer to 'behind' or 'back'.

After posting my question, I got to thinking about it and believe  I can figure out a macro myself.

Thanks for your replies though.

craigr

hudster

  • Gator
  • Posts: 2848
Re: Macro to put 'FloorPlan' on Back?
« Reply #7 on: December 19, 2007, 07:19:26 AM »
post your solution here then.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

craigr

  • Guest
Re: Macro to put 'FloorPlan' on Back?
« Reply #8 on: December 19, 2007, 07:20:22 AM »
I plan on it.

Hopefully today.

craigr

craigr

  • Guest
Re: Macro to put 'FloorPlan' on Back?
« Reply #9 on: January 04, 2008, 08:10:59 AM »
post your solution here then.

Okay, I FINALLY took the time to write the macro, here it is....

^C^C_-layer;Freeze;*;;-layer;unlock;floorplan;unlock;roomnumbers;unlock;security;thaw;floorplan;thaw;roomnumbers;;draworder;all;;back;-layer;freeze;*;thaw;security;;draworder;all;;front;-layer;thaw;floorplan;thaw;roomnumbers;lock;floorplan;lock;roomnumbers;;

- The macro runs thru okay, but it doesn't do what it should :cry:

What am I missing here?

craigr