Jump to content
markdd

Linetypes to component parts

Recommended Posts

Does anyone know of a way to separate a linetype into its component parts? It would be good to be able to take a shape made with a certain line type and then say "Ungroup" or "Convert to group" and its all split up into individual objects.

Share this post


Link to post

Yes a little perhaps, but I would like to be able to draw a shape using some complex line type and then be able to "ungroup" it so that I can apply further pen settings etc.

Share this post


Link to post

Linetypes are normally not meant to be broken down into its components so I doubt this is going to be implemented soon.

 

What you could try is print (not export) to PDF and then import the PDF to see if the complex linetype got broken down into its components. Or use a PDF to CAD program and not let that create linetypes from dashed lines.

 

I'm not sure what you are trying to achieve with this, but if e.g. you want some components of a line to be thicker than other components then this is already possible with creating a complex linetype, though it may take some experimenting to get it right. Not sure if different colours for components could work, never tried that.

Share this post


Link to post

I have about 300 symbols containing complex linetypes. Due to a change in some functionality of Vectorworks in 2017 I need to change them to polylines instead. I was hoping there was a sneaky way of converting a zigzag linetype into a polyline. Here's hoping!

Share this post


Link to post

Hi, if you open a linetype and in the Resource Manager select edit and go geometry you can replace the existing geometry with your new geometry and you get a new linetype. With 300 you have a bit of work to do, but if they are already linetypes originally I would have thought they would upgrade automatically.

 

HTH

 

But just reread your post and i guess this is not what you are after and cant delete post.

Edited by Alan Woodwell

Share this post


Link to post
9 hours ago, markdd said:

I have about 300 symbols containing complex linetypes. Due to a change in some functionality of Vectorworks in 2017 I need to change them to polylines instead. I was hoping there was a sneaky way of converting a zigzag linetype into a polyline. Here's hoping!

If your zigzag line is a proper line type then the suggestion from @Alan Woodwell could work.

 

If the zigzag contains of multiple separate (i.e. disconnected) but touching line segments you could try to do a compose of those segments to turn them into a single line and then replace it with a solid line if that is what you are after, though I'm afraid that will only keep the zigzag shape and not replace it with a line going through the centres of the zigzag segments. In that case redrawing the line might be your only option unless someone knows how to write a script that draws a line through the midpoints of selected lines (i.e. the zigzag segments) to create a polyline to replace your zigzag "line"

 

Share this post


Link to post

Thanks. The script idea is the way to do it! Maybe this is my entry into the world of writing  my own VW scripts and not just using other people's. 

 

I was was sort of hoping that there might be an ungroup command that I had not heard of that could convert a line type do this. 

 

So, it's pick a line, ascertain its length and draw a zigzag polygon in its place. Nothing could be simpler!! 

Share this post


Link to post
21 minutes ago, markdd said:

So, it's pick a line, ascertain its length and draw a zigzag polygon in its place. Nothing could be simpler!! 

 

Now I'm a bit confused. Are you trying to create a line with zigzag line type to replace another line type or are you trying to replace a zigzag line type with a different line type?

 

Attached is a quick and dirty mockup for a diy zigzag line type that may give you a start to create one yourself if you are trying to get a zigzag to replace an existing line. Changing the line type of that line to the zigzag attempt 1 may work, but you  will need to refine things a bit more.

Zigzag attempt 1.vwx

Share this post


Link to post

Now that my libraries are working again, in the default libraries there is a line type file that also contains a zigzag line type, though that one is a bit larger than the quick and dirty mockup. They have the same limitation when it comes to sharp corners, but for smooth polylines they should work well enough. (I vaguely remembered seeing the zigzag line type in one of the libraries but wasn't sure anymore)

Edited by Art V

Share this post


Link to post

Ha ha! I don't want to confuse. What I would like to do in an ideal world is:

1.click on a line that has a zig zag line type assigned to it.

2. Run a command that changes that line to become the polyline that is contained within the zigzag line type.

 

I think that command could have some potential when dealing with complex line types. Something that the duplicate along path tool and the move by points tool doncombined but if course much simpler!?! I'll try and post an example of what I'm talking about later!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...