Last Active Paperspace Layout

Last Active Paperspace Layout

Anonymous
Not applicable
187 Views
2 Replies
Message 1 of 3

Last Active Paperspace Layout

Anonymous
Not applicable
Is there a way to tell the last active paperspace layout if i am in
modelspace? I looked for this variable but I only see Activelayout.

I need to tell the last active pspace layout so I can delete the rest of
them.

Thanks

--
Rob Starz
rob@stardsign.com
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
http://www.stardsign.com/main.htm
StarDsign cad solution
0 Likes
188 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Rob,

ThisDrawing.PaperSpace always points to the current, or last active
paperspace layout.

So, for example to retrieve the name of the last active paperspace just use
...

ThisDrawing.PaperSpace.Layout.Name

Hope this helps,

James

"Rob Starz" wrote in message
news:857168ECD7AC2BD20840BC0A666C1F04@in.WebX.maYIadrTaRb...
> Is there a way to tell the last active paperspace layout if i am in
> modelspace? I looked for this variable but I only see Activelayout.
>
> I need to tell the last active pspace layout so I can delete the rest of
> them.
>
> Thanks
>
> --
> Rob Starz
> rob@stardsign.com
> Plogv 3.0 & 2000 (plot logging) for r14 & 2000
> ***Enhancement Tools for Arch. Desktop *****
> http://www.stardsign.com/main.htm
> StarDsign cad solution
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
James,

That did it. Thanks for the info.

--
Rob Starz
rob@stardsign.com
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
http://www.stardsign.com/main.htm
StarDsign cad solution

"James Welsh" wrote in message
news:73EE87D3EE22001E775C521E52187AB1@in.WebX.maYIadrTaRb...
> Rob,
>
> ThisDrawing.PaperSpace always points to the current, or last active
> paperspace layout.
>
> So, for example to retrieve the name of the last active paperspace just
use
> ...
>
> ThisDrawing.PaperSpace.Layout.Name
>
> Hope this helps,
>
> James
>
> "Rob Starz" wrote in message
> news:857168ECD7AC2BD20840BC0A666C1F04@in.WebX.maYIadrTaRb...
> > Is there a way to tell the last active paperspace layout if i am in
> > modelspace? I looked for this variable but I only see Activelayout.
> >
> > I need to tell the last active pspace layout so I can delete the rest of
> > them.
> >
> > Thanks
> >
> > --
> > Rob Starz
> > rob@stardsign.com
> > Plogv 3.0 & 2000 (plot logging) for r14 & 2000
> > ***Enhancement Tools for Arch. Desktop *****
> > http://www.stardsign.com/main.htm
> > StarDsign cad solution
> >
>
0 Likes