Jump to content
  • 1
Kevin McAllister

Renaming Viewports - Is this really not possible from the Navigation Palette?

Question

Is it really not possible to rename a SLVP from the Viewports tab of the Navigation Palette? I right click and choose edit but there's no field for the name of the viewport. I can edit the name of the drawing associated with the viewport. It seems like the only way to rename a SLVP is to select the viewport individually and rename it in the OIP. Am I missing something?

 

Kevin

  • Like 2

Share this post


Link to post

Recommended Posts

  • 0

@Matt Panzer Thanks for submitting this!  I've been testing different theories.

 

My guess is that renaming (and that's all this script does) is somehow deleting the Back Reference on the section viewports.  The section lines are still linked to the correct viewports, and will update when refreshed by other methods.

 

I'm hoping that this 8 line script doesn't have to become event aware 🙂.  

Share this post


Link to post
  • 0
15 hours ago, michaelk said:

@Matt Panzer Thanks for submitting this!  I've been testing different theories.

 

My guess is that renaming (and that's all this script does) is somehow deleting the Back Reference on the section viewports.  The section lines are still linked to the correct viewports, and will update when refreshed by other methods.

 

I'm hoping that this 8 line script doesn't have to become event aware 🙂.  

 

I played around with your script and cannot find any trick to fix it.  I think we may need to wait for a fix.

Share this post


Link to post
  • 0

@Boh & @Andy Broomell, thanks for finding this bug!  I should send you two all my tools 🙂.

 

I haven't found a way to script around it (yet).  Until then here are two scripts that may help:

 

1.  A version of the renaming script that only renames regular viewports and not section viewports.  As far as I can tell, renaming regular viewports doesn't cause the bug.

 

2.  A script to force already discombobulated section lines to update.  Thanks @Matt Panzer!

 

 

VP Rename Scripts Temp Fix.vwx VP Rename Scripts Temp Fix v2018.vwx

  • Like 1

Share this post


Link to post
  • 0

Thanks @michaelk

 

Fantastic that at least we can rename standard vp's. Unfortunately though when I run your new Rename Reg Viewport script it confuses detail viewports and I get this when I try to navigate back from a detail callout back to it's viewport. See vid. 

 

image.thumb.png.eb20e090a3f382ecb1ad5fbc965d6f8c.png

 

 

Share this post


Link to post
  • 0
On 2/17/2021 at 7:06 PM, Andy Broomell said:
On 2/17/2021 at 3:52 PM, Boh said:

How are you managing vp names

I'm mostly just not 😅

 

(all the while cursing Vectorworks for the dumb way it currently names them.)

 

As a set designer I have to pump out many drawings quickly, meaning a file might not be used by me for long, in which case it's not always worth the time naming viewports in a useful way. Without the script to do it for me I can't really waste time on it. (Depends on the file of course.)

 

When it comes to linking markers, I make heavy use of the search field in the Linked Viewport dropdown, which is a godsend.

 

Hopefully one day Viewport auto-naming will exist in a smart and useful way, and until then I'll send positive thoughts in the direction of the brilliant michaelk so that perhaps a scripting solution will be found for 2021.

Thanks Andy. Yes I agree that a built in way to auto control vp naming is overdue. Meanwhile MichaelK's scripts are also a godsend!

 

Cheers

Share this post


Link to post
  • 0

@Boh You keep breaking my stuff!!!  😆
 

I don't think I've used a detail viewport in a long time.  Probably never in a real work drawing.  Can you send me a file with one right before you run the script?  It looks like the same or similar problem as section viewports.  I'll see if there's a way to exclude detail viewports as well.

 

 

Share this post


Link to post
  • 0
17 minutes ago, michaelk said:

Boh You keep breaking my stuff!!!  😆

Sorry dude - just keeping you on your toes! 😁

 

Attached a file with a detail callout that is currently navigating to it's viewport. I.e. script hasn't been run on it yet.

 

Cheers

Detail Viewport Rename Test File.vwx

Edited by Boh

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
Answer this question...

×   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...