How can I sort the opened Drawings

How can I sort the opened Drawings

Anonymous
Not applicable
269 Views
3 Replies
Message 1 of 4

How can I sort the opened Drawings

Anonymous
Not applicable
I'm about to write a VBA for plotting all opened Drawings in ACAD2000. The
most work for this is done, but there's still one thing to do.
I want to sort the opened Drawings by name. So how can I sort the list of
opened Drawings?
0 Likes
270 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
There was some discussion on sorting arrays a week or so ago...look for
"VBA:Sorting an array" or something similar.
--
Bobby C. Jones
www.acadx.com

"Ralph Poh" wrote in message
news:148AC3B0601339224CCF7894938DF332@in.WebX.maYIadrTaRb...
> I'm about to write a VBA for plotting all opened Drawings in ACAD2000. The
> most work for this is done, but there's still one thing to do.
> I want to sort the opened Drawings by name. So how can I sort the list of
> opened Drawings?
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
Sorry, but I don`t want to sort any array. I´m using :
Dim drawing As AcadDocument
For Each drawing In ThisDrawing.Application.Documents
So what I want is to sort the list of drawings provided directly from ACAD
(ThisDrawing.Application.Documents).
I need to know if there is any chance of soring them or if I have to go a
longer way by using an array.

Thank`s for your interest

Ralph Poh
----- Original Message -----
From: "Bobby C. Jones"
Newsgroups: autodesk.autocad.customization.vba
Sent: Wednesday, May 01, 2002 9:22 PM
Subject: Re: How can I sort the opened Drawings



"Bobby C. Jones" schrieb im Newsbeitrag
news:CA92EBEACADE8A15296209E67D995A92@in.WebX.maYIadrTaRb...
> There was some discussion on sorting arrays a week or so ago...look for
> "VBA:Sorting an array" or something similar.
> --
> Bobby C. Jones
> www.acadx.com
>
> "Ralph Poh" wrote in message
> news:148AC3B0601339224CCF7894938DF332@in.WebX.maYIadrTaRb...
> > I'm about to write a VBA for plotting all opened Drawings in ACAD2000.
The
> > most work for this is done, but there's still one thing to do.
> > I want to sort the opened Drawings by name. So how can I sort the list
of
> > opened Drawings?
> >
> >
>
>
0 Likes
Message 4 of 4

Anonymous
Not applicable
Hi Ralph,

You may not want to sort an array, but as there is no other way of achieving
your objective but to put the drawing names into an array and sorting that
array, you're left with having to do it.

--


Laurie Comerford
CADApps
www.cadapps.com.au

"Ralph Poh" wrote in message
news:EC353A607F3768689A280F2CBE4DE7C5@in.WebX.maYIadrTaRb...
> Sorry, but I don`t want to sort any array. I´m using :
> Dim drawing As AcadDocument
> For Each drawing In ThisDrawing.Application.Documents
> So what I want is to sort the list of drawings provided directly from ACAD
> (ThisDrawing.Application.Documents).
> I need to know if there is any chance of soring them or if I have to go a
> longer way by using an array.
>
> Thank`s for your interest
>
> Ralph Poh
> ----- Original Message -----
> From: "Bobby C. Jones"
> Newsgroups: autodesk.autocad.customization.vba
> Sent: Wednesday, May 01, 2002 9:22 PM
> Subject: Re: How can I sort the opened Drawings
>
>
>
> "Bobby C. Jones" schrieb im Newsbeitrag
> news:CA92EBEACADE8A15296209E67D995A92@in.WebX.maYIadrTaRb...
> > There was some discussion on sorting arrays a week or so ago...look for
> > "VBA:Sorting an array" or something similar.
> > --
> > Bobby C. Jones
> > www.acadx.com
> >
> > "Ralph Poh" wrote in message
> > news:148AC3B0601339224CCF7894938DF332@in.WebX.maYIadrTaRb...
> > > I'm about to write a VBA for plotting all opened Drawings in ACAD2000.
> The
> > > most work for this is done, but there's still one thing to do.
> > > I want to sort the opened Drawings by name. So how can I sort the list
> of
> > > opened Drawings?
> > >
> > >
> >
> >
>
>
0 Likes