• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to convert path to shape or polygon and vice versa?

New Here ,
Sep 05, 2018 Sep 05, 2018

Copy link to clipboard

Copied

Hi, I have complex file and need it as .svg for future using on web page. It's actually a map where I need some shapes to have specific <tag>, one must be <path> other <polygon> or any other, but not <path>. For now some of "green shapes" are still polygons other paths, so is there any way to convert them to other style or vice versa? Didn't find any information or tool for this. Is there a way to do this? If not, why Adobe still didn't do that?

6myvv_05-09-2018.jpg

Views

21.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Sep 05, 2018 Sep 05, 2018

Object >> Shape  >> Convert To Shape

Object >> Shape  >> Expand Shape

Votes

Translate

Translate
New Here , Sep 14, 2024 Sep 14, 2024

For anyone that is somehow still searching for a solution to this problem: I had accidently added Effect > Distort & Transform > Zig Zag to a path that resulted in a polyline output. 
You can reduce the strenght of the effect to 0% / 1 segment and tadaaah! all polylines.

Votes

Translate

Translate
Adobe
Community Expert ,
Sep 05, 2018 Sep 05, 2018

Copy link to clipboard

Copied

Is it because of the nature of your design? a path contains curves and a polygon contains straight lines? What does your ideal result look like?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

best result for me is to assign one tag type for all the shapes in the picture, also I have same shapes (separately) in this .svg as black border lines, so border lines must have another tag type.

So as example colored shapes = "tag-1", black borders (as 1px black lines) = "tag-2", it can be any tags but main thing not same.

Hope you understood my idea.

tb97s_06-09-2018.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 05, 2018 Sep 05, 2018

Copy link to clipboard

Copied

Object >> Shape  >> Convert To Shape

Object >> Shape  >> Expand Shape

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

Sorry but I don't have this menu:

Object >> Shape  >> Convert To Shape

Sorry I didn't notice, but I use CS4

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

artur-amparo  schrieb

Sorry but I don't have this menu:

Object >> Shape  >> Convert To Shape

Sorry I didn't notice, but I use CS4

In that case you might want to edit your SVGs in a text editor.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

In that case you might want to edit your SVGs in a text editor.

so if I will change only tag names for one object type in .svg by using text editor, it will continue working correctly without any bugs?

From which version of Illustrator does have - Object>Shape>Convert to Shape, maybe I have other Illustrator version on other computer?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

It's not as simple as just changing tags.

Shapes work differently than paths. If specific structure of an SVG is needed, you will need to

1. dive into the SVG specifications

2. work closely with the people who work with the SVG you provide

There is no simple solution.

Current Illustrator versions create different SVG code, but you still need to know what you're doing and nobody can do the learning for you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2018 Sep 06, 2018

Copy link to clipboard

Copied

Is good practice to include your ai & OS version when posting, saves  time and gets you a resolution quicker.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

Is good practice to include your ai & OS version when posting, saves  time and gets you a resolution quicker.

Yeap, sorry for that.

Workstation is: iMac with OS X El Capitan (v10.11.6) and Illustrator CS4 (v14.0.0)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

Please note you are running a much newer OS, and CS4 has never been updated for El Captian.

Older versions of Adobe Illustrator system requirements

So do not upgrade to High Sierrra if you plan on using CS4  as the farther you get away from the system requirements, the more issues you will have. Wanted to warn you as a very long process to downgrade your Mac OS.

If you just want to finish this project and whatever you have currently, you can download the CC trial as that work for 30 days i believe.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

Mike, the trial period for Adobe was lowered to 7 days several years ago. Sorry.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

Thanks Larry for the update.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 14, 2024 Sep 14, 2024

Copy link to clipboard

Copied

LATEST

For anyone that is somehow still searching for a solution to this problem: I had accidently added Effect > Distort & Transform > Zig Zag to a path that resulted in a polyline output. 
You can reduce the strenght of the effect to 0% / 1 segment and tadaaah! all polylines.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines