AutoCAD 2013/2014/2015

AutoCAD 2013/2014/2015

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

How to fill up color in polygons?

24394 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,318
Registered: ‎09-16-2009
Message 2 of 5 (24,390 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,612
Registered: ‎11-06-2003
Message 3 of 5 (24,385 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 (24,359 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,612
Registered: ‎11-06-2003
Message 5 of 5 (24,347 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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.