Jump to content
  • 1
joelhufford

Convert LIne to Dimension Command

Question

I've been converting 2d lines to dimensions for some time now. I find it helps when trying to dimension something in a view other than Top/Plan as the 2d line stays on what is effectively the screen plane of the drawing and you don't run into odd snapping to obejcts in 3d space.

 

What happens in the video below has been happening I think ever since updating to VW2017, I've just never taken the time to document it until now. When converting a line object to a dimension, Vectorworks displays an angry dialog box saying "This command requires that one of the following objects be selected : line, circle/arc" What's more bizarre is that after hitting okay a few times, the conversion does happen...and usually the same dialog box pops up a few more times after the conversion has happened!

 

Anyone else ever seen this? Something I'm missing here?

 

Thanks! 

line_to_dimension.mov

Share this post


Link to post

12 answers to this question

Recommended Posts

  • 0

How right you are. Don't use this command very often. Must be a glitch.

Share this post


Link to post
  • 0

Does this happen in all files, or just one? What happens if you create a new blank file, draw a line and run Convert to Dimension?

 

My best guess is that you have objects that are selected but are not visible. Maybe inside of groups or symbols.

 

The next time this happens, create a new vectorscript with just a single line of :      DSelectAll;

 

And run it. Then draw a new line and try the script again.

 

If this works, they you know what the problem is, but it is still a bug.

 

Can you post a simple file that shows the problem either here or DM it directly to me and I will take a look?

Share this post


Link to post
  • 0

I ran Pat's script on the file I'm currently working on and it didn't change anything sadly. 

Edited by markdd

Share this post


Link to post
  • 0

I am unable to replicate this here in a test file, could anyone experiencing the issue please post a file where this occurs? I'll test that, if it still doesn't happen on my end, there might be something in preferences we can clean up. Tested on macOS 10.12.4.

Share this post


Link to post
  • 0

Does it in that file, but when I copy it to another, it works with no popup alerts. Hrrmmm, I'll try a few more things then have engineering take a look, I had also forgotten that command existed, but this definitely seems broken.

Share this post


Link to post
  • 0

I had also forgotten, but its actually really useful, especially if you add it as a contextual menu command....

Share this post


Link to post
  • 0

Definitely have Engineering take a look. This is really weird.

 

Create a new worksheet in the file Mark uploaded.  Create a database with a criteria of All Objects.  Set the Column formulas to =L  =C and =SEL  (Layer, Class and Selection State).

 

Select a line on either the Definition Layer or Model Layer and recalculate the worksheet.  Notice that there is a selected object on both Definition Layer and Model Layer.

 

Create New layers and Cut and Paste In Place the objects from Definition Layer and Model Layer. Draw a line and recalculate the worksheet. Note that there is only a single object selected.

 

Convert the Line to Dimension. It converts without the extra error messages.

 

Mark, I would at least Cut and Paste the objects in Definition and Model to new layers. If you don't have too many sheet layer/viewports to recreate, I would consider Copy/Paste in Place every layer to a new file.

 

It looks like a corrupt file to me. It may be a bug also, but you should not have a single object showing as on more than one layer.

 

The error message appears to be that the command is trying to operate on multiple instances of the single selected object. Once the first instance is converted the other objects are no longer of the correct type for the conversion.

Share this post


Link to post
  • 0

There is a duplicate object in both the definition layer and the model layer because I have a viewport in the DL viewport in the model layer referencing stuff from the definition layer...

Share this post


Link to post
  • 0

Interesting that the DLVP does not show up in the worksheet, only the objects. 

 

In any case, when I cut and pasted the objects to new layers the problem went away, even for objects drawn on the original layer.

Share this post


Link to post
  • 0

It's there! It's created using the create plot and model view command which is a Spotlight command for showing positions at different angles or orientations.

Edited by markdd

Share this post


Link to post
  • 0

Yes it is there. When I go to the layer the only object is the DLVP. But it does not show in the worksheet. Interestingly, the SLVP does show as an object in the worksheet.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

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.

×