Jump to content
Developer Wiki and Function Reference Links ×

Export DWG for illustrator


amogle

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);

Link to comment

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.

×
×
  • Create New...