AutoCAD 2013/2014/2015

AutoCAD 2013/2014/2015

Reply
Contributor
vikasranga2
Posts: 18
Registered: ‎06-13-2012
Message 1 of 5 (23,263 Views)

How to fill up color in polygons?

23263 Views, 4 Replies
06-16-2012 05:16 AM

I have a drawing (.dwg) file. It is having so many polygons created by polyline. I want to fill up those polygons by a color. How can I do the same in AutoCAD?

 

After that How can I generate .svg from .dwg?

*Expert Elite*
Patchy
Posts: 6,301
Registered: ‎09-16-2009
Message 2 of 5 (23,259 Views)

Re: How to fill up color in polygons?

06-16-2012 05:36 AM in reply to: vikasranga2

Hatch with solid.

 

Attach your example drawing here, let's see.

*Expert Elite*
pendean
Posts: 23,319
Registered: ‎11-06-2003
Message 3 of 5 (23,254 Views)

Re: How to fill up color in polygons?

06-16-2012 06:48 AM in reply to: vikasranga2

Look up and start HATCH command.

Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
Contributor
vikasranga2
Posts: 18
Registered: ‎06-13-2012
Message 4 of 5 (23,228 Views)

Re: How to fill up color in polygons?

06-18-2012 02:36 AM in reply to: pendean

Sorry for late response,

 

I am not getting required result using hatch tool.

 

Actually I have so many polygons in a drawing (.dwg) file. Using hatch file, I am able to select only one ploygon at a time. I need a script which can hatched all objects at a time.

 

Can we apply hatch tool on all layers simultaneously?

*Expert Elite*
pendean
Posts: 23,319
Registered: ‎11-06-2003
Message 5 of 5 (23,216 Views)

Re: How to fill up color in polygons?

06-18-2012 05:47 AM in reply to: vikasranga2

No, HATCH command requires some sort of selection of objects or spaces: you can explore using QSELECT or FILTER or SELECTSIMILAR commands to create such selections based on whatever criteria they all share in common.

 

AFAIK you can select more than one at the same time, you just need to be aware of your hatch "island detection" settings of these objects overlap. Also look up and set HPSEPARATE variable to what you need.

Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
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!