AutoCAD 2013/2014/2015

AutoCAD 2013/2014/2015

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

How to fill up color in polygons?

19410 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,240
Registered: ‎09-16-2009
Message 2 of 5 (19,406 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: 22,244
Registered: ‎11-06-2003
Message 3 of 5 (19,401 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 (19,375 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: 22,244
Registered: ‎11-06-2003
Message 5 of 5 (19,363 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
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.