Jump to content
  • 1

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


Kevin McAllister

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
Link to comment

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

Link to comment
  • 0
  • Vectorworks, Inc Employee
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.

Link to comment
  • 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
Link to comment
  • 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

Link to comment
  • 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.

 

 

Link to comment

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.

×
×
  • Create New...