Jump to content
Sign in to follow this  
amogle

Export DWG for illustrator

Recommended Posts

Here is a little script I wrote a while ago to export a DWG for Illustrator. What it does is group everything by class to make things easier to manage in illustrator.

Any comments welcome.

Script:

{Export DWG with Grouped Classes for Illustrator}

PROCEDURE Expill;

VAR

noofcls, classno : LONGINT;

ClassH, noOfCl: STRING;

BEGIN

noofcls:= ClassNum; classno:=1;

WHILE classno <= noofcls DO

BEGIN

ClassH:= ClassList(classno);

SelectObj((C= ClassH));

Group; DSelectAll;

classno := classno + 1;

END;

DoMenuTextByName( 'Export DXF/DWG', 0 );

SelectAll; ungroup; DSelectAll;

END;

Run(Expill);

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...