Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Distinguished Contributor
jay1210
Posts: 111
Registered: ‎03-22-2003
Message 1 of 7 (128 Views)

re: lisp routine to categorized color into layers

128 Views, 6 Replies
11-02-2008 01:23 AM
Hi guys who can give any lisp routine that in one command it will categorized same color into one layer and if you have more than one color it will create another layer for the other color. please help , thanks... cheers
Mentor
devitg
Posts: 1,705
Registered: ‎03-14-2004
Message 2 of 7 (128 Views)

Re: re: lisp routine to categorized color into layers

11-02-2008 06:44 PM in reply to: jay1210
Color , where ??

Any dwg SAMPLE to see??

Distinguished Contributor
jay1210
Posts: 111
Registered: ‎03-22-2003
Message 3 of 7 (128 Views)

Re: re: lisp routine to categorized color into layers

11-03-2008 01:24 AM in reply to: jay1210
my work is this we have revit dwg and convert it into autocad dwg upon conversion every line with different properties will have different layers in different color, our drawing is mep services and every service is in different color eg. ventililation-cyan, plumbing-red. I want an lisp routine that will group all element in the same color and put it into one layer ans so on, could this be possible, thanks cheers.....
Mentor
devitg
Posts: 1,705
Registered: ‎03-14-2004
Message 4 of 7 (128 Views)

Re: re: lisp routine to categorized color into layers

11-03-2008 02:17 AM in reply to: jay1210
Please upload the sample dwg , and the list off COLOR-> layer correspondence in a CSV text file .

Distinguished Contributor
jay1210
Posts: 111
Registered: ‎03-22-2003
Message 5 of 7 (128 Views)

Re: re: lisp routine to categorized color into layers

11-05-2008 01:40 AM in reply to: jay1210
Hi ,
I attached sample layer. ,,, cheers
Distinguished Contributor
jay1210
Posts: 111
Registered: ‎03-22-2003
Message 6 of 7 (128 Views)

Re: re: lisp routine to categorized color into layers

11-05-2008 01:43 AM in reply to: jay1210
Hi,
I could not upload a sample drawing it says "the content type of the file is not allowed"
Mentor
devitg
Posts: 1,705
Registered: ‎03-14-2004
Message 7 of 7 (128 Views)

Re: re: lisp routine to categorized color into layers

11-05-2008 02:07 AM in reply to: jay1210
Please send it off line to my email , it is

my-user-name-here at gmail com
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!