Layoutlist function accoreconsole workaround

Layoutlist function accoreconsole workaround

Anonymous
Not applicable
577 Views
1 Reply
Message 1 of 2

Layoutlist function accoreconsole workaround

Anonymous
Not applicable

Hi,

I am trying to export a bunch of dwg files to pdf in accoreconsole,.

I have come up with an Autolisp script that works in AutoCAD that does exactly what I need, However I have discovered that accoreconsole does not support the (layoutlist) function. Is there another way to get a list of layouts that works in the accoreconsole?

 

Thanks,

Will

0 Likes
578 Views
1 Reply
Reply (1)
Message 2 of 2

cadffm
Consultant
Consultant
Read the layoutnames directly from the dictionary.

(dictsearch (namedobjdict) "ACAD_LAYOUT")

Sebastian

0 Likes