Jump to content
Chris Morrison

Isolate Object command

Recommended Posts

Hi,

Is there an "isolate objects" command in vectorworks?

I'm trying out the 3d side of vectorworks and am a form Z user - in Form Z you can right click on the mouse and this command appears in the menu-it's very useful for complicated 3d scenes to reduce visual clutter. Is there anything similar in vectorworks?

mny thx,

Share this post


Link to post

Have you tried the clip cube? Select an object or objects, invoke the clip cube from the tool bar. You will get an adjustable cube. Object inside the cube are visible, objects outside are not.

And there's always the old school way. Select an object or objects. Group. Go inside the group (with show other objects while in edit modes turned off).

When you're done, exit the group and ungroup.

That's what we used to do before the clip cube. My fingers still remember the keyboard shortcuts:

Command-G, Command-Left Bracket to isolate

Command-Right Bracket, Command-U to return.

hth

mk

Edited by michaelk

Share this post


Link to post

Come to think of it, there is an even older way that might do exactly what you want.

These scripts will run deprecated commands that sound like they do exactly what Form Z does.

Select the object or objects you want to work on. Run the script, "Hide UN Selected"

When you're done, make sure to run the script "Show All"

I don't know where these scripts came from. Probably safe to credit Pat. Or Raymond.

hth

mk

Share this post


Link to post

Hi, if you make a class active you can isolate all the class.

Right click on screen and layer or class options.

Ctr+alt+3 isolates the class and Ctr+alt+8 turns them all on again.

HTH

Share this post


Link to post

Or you can make the objects you want to isolate a group and turn off the preference to Show Other Object in Edit Modes (or something like that).

  • Like 1

Share this post


Link to post
I don't know where these scripts came from. Probably safe to credit Pat. Or Raymond.

Sounds like things from the mind (and fingers) of Sam Jones. He's where I got the versions I use...

Share this post


Link to post

@michaelk where do i find those scripts you, describe.
sorry abslolute newbie with scripts in vw.

 

but im missing these function so much in vw 3d environmet.

thx

simon

Share this post


Link to post

Simplest way is to make them yourself.

 

Edit your workspace and add Custom Visibility to the menu from the Legacy set. It was originally in the Tools menu with Custom Selection etc. before being moved to Legacy.

 

Run the tool and check the Create Script option. The first script you want to have it make is Show All so you can get things back after you hide them.

 

Then you can make a tool for Hide Objects that are Not Selected.

 

And as many other versions as you need to do what you are trying to do. Hide specific layers or classes. Or types of objects (text perhaps).

 

Very powerful.

Share this post


Link to post

Wow I like that!

 

One thing though. I notice that creating a "Show all" script shows all objects but doesn't change their classes to visible. I.e. even objects on invisible classes are visible - which could get confusing.

 

I've noticed some right click menu items called "Hide Objects" & "Show All". "Hide objects" in the context menu hides all items which aren't selected, "Show Objects", available when nothing is selected shows everything except items that have their classes off.

 

image.thumb.png.05e384496b5c53d8f937f23c4485cb1e.pngimage.thumb.png.c3aa4eef59eaed6a0ec703f57f023f98.png

 

 

 

 

 

 

Share this post


Link to post

This is funny this came up and is active as I am actively trying to figure out a way to do this. 

 

I am very much in need of an isolate selection mode at the moment.  I think I am personally going to submit a wishlist item for this.

 

Unfortunately things in the drawing are already classed and layered.  The item is a curve and the clip cube does not give me the desired results.  If I group I give up some of the layering already in place.  There really should be a quick toggle to isolate items like in an edit mode, not sure how this is just coming to me now.

Share this post


Link to post

Hmmm Matt does the right click “Hide Objects” command as mentioned above not do what you want?

Share this post


Link to post

I do not have any right click options for "hid" objects as you do.  

Share this post


Link to post

Have you tried adding it to your workspace?

Share this post


Link to post

I saw this thread, and didn't know about this command. I went to add it to my workspace, but I don't see it! Is the name of the command something other than "Hide Objects"?

1019512300_ScreenShot2019-02-22at11_20_28AM.thumb.png.f1415c812429abb9bf547e35435c2fb4.png

Share this post


Link to post

I suspect it may be part of the Australasian version of VW

Try bringing in that “Custom Visibility...” command instead that @Pat Stanford mentioned. I played around with it but couldn’t figure out how to get a “show “ command that didn’t show objects on classes set to invisible. 

Edited by Boh

Share this post


Link to post

For me the Custom Visibility tool does not effect objects with hidden Class or Layer visibilities.

 

The scripts created are really simple.

 

Show All:

Show(INSYMBOL & INVIEWPORT & (ALL));

 

Hide Visible Selected Objects

Hide(INSYMBOL & INVIEWPORT & (VSEL=TRUE));

 

If scripts are acceptable, copy and paste everything in the code block in to a new blank Vectorscript from the Resouce Browser.

 

If you want to give them key shortcuts or add them to the  contextual right click menu you will need to use the Plug-in Manager (Tools:Plug-ins) to make them into a command and then add that command into your workspace.

  • Like 2

Share this post


Link to post

If you want to hide all but the selected objects you will need 2 commands, one to hide and one to unhide.  you need to be sure that you do not include symbols and plug-ins because selected objects may hide there interior components leaving you with just control points, if that.  The commands are

 

To hide all unselected objects

Hide(((SEL=FALSE)));

 

To show what you just hid.

Show(((VSEL=FALSE)));

 

Let me know if this is not what you need.

 

  • Like 4

Share this post


Link to post

@Pat Stanford @Sam Jones , this helped  a lot !! thx

 

is it possible to assign a shortcut to a script ?

that would be just super cool.

 

i do have three scripts now:

 

for Isolate selected i used:

 

Hide(((SEL=FALSE))); 

 

for Show All:

 

Show(((VSEL=FALSE)));

 

and Hide selected:

 

Hide(INSYMBOL & INVIEWPORT & (VSEL=TRUE));

 

😀😀😀

 

 

 

Bildschirmfoto 2019-02-25 um 11.16.52.png

Share this post


Link to post

 and indeed i do now have the problem of having groups and symbols not included.

 

@Sam Jones I couldnt find out what to add to the script to include groups and symbols

when i try this nothing happens anymore

 

 

Hide(INSYMBOL & INOBJECT & SEL=FALSE);

 

thx in advance

 

 

 

Bildschirmfoto 2019-02-25 um 11.43.46.png

Edited by Schanke

Share this post


Link to post

To hide selected objects use

Hide(((SEL=TRUE)));

 

There is no such thing as a short cut, but you can turn the script into a menu command.  To do this you need to turn it into a plug-in command.

1. go to the plug-in manager

 2074776847_ScreenShot2019-02-25at11_12_59AM.thumb.png.82c3a6b99c2549579699ed7c53ed3581.png

 

2. In the resulting dialog click on the "New..." button

 

3. In the resulting dialog type in a name for the command you are making and click on the "Command" radio button

1584982780_ScreenShot2019-02-25at11_19_52AM.thumb.png.7c9b78def21d40ae5d03bbfe1c877af8.png

 

click on the "OK" button.

 

You will now have a command that does nothing.

 

4. In the Plug-In Manager dialog be sure the command you just created is highlighted, and click on the "Edit Script..." button.

image.thumb.png.707d676e71d5ded29053cca786acf00c.png

 

5. In the resulting editor window type script, for example "Hide(((SEL=FALSE)));" and click on the "OK" button. Then, click on the "Close" button.

 

You now have a command that you can put in your workspace.  You will have to decide in what menu and where, but once that is done you will have a menu command always available, and you can give it a keyboard shortcut if you wish.

 

Hope that helps (HTH)

 

Sam

 

 

 

 

Screen Shot 2019-02-25 at 11.19.52 AM.png

Screen Shot 2019-02-25 at 11.23.00 AM.png

image.jpeg

  • Like 2
  • Love 1

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