Jump to content
Sign in to follow this  
QfanatiQ

Custom Selection

Recommended Posts

I have a large drawing where many people have worked on it. As a result, they have chosen to do opaque/percentage fills with no pen weight border.

These have also been done on different classes.

I cannot seem to find the option under Custom Selection to select all items that have the opaque/percentage.

I cannot imagine that this is not an option, but it is passing me by.

Before posting, i did start to try and select them individually, but due to not being able to select items through rotation when classes are over/under each other it is proving all very hard going for what should be a 5 second job.

A suitable professional solution greatly appreciated.

Cheers......Q

Using VW2011 - 3.2ghz i3 - Mac

Share this post


Link to post

Why don't you use the Select Similar Tool, the one that looks like a magic wand? Select the tool, click on the type of object you want to select all instances of, and voila, you've got them all, done. You can modify your selection criteria, and even save your selection criteria for future use.

Share this post


Link to post

Thanks Mitch, just been pointed out to me by someone at work, i was logging on, in order to post back this find.

Thanks for posting, greatly appreciated.

It would be good to have one place for selection, not two. But we have an answer all the same at this stage.

Share this post


Link to post

Reporting back, it selects only opacity with that percentage. Typically, I have had a user that has decided it is best to set a different percentage to almost every blinking shade aspect they wanted.

To begin with, I was lucky to pick up a bulk of them, but since still needed to fish through.

Be good to be able to say, select any opacity object, irrelevant of percentage.

.

Share this post


Link to post

There should also be a deselect option available with the Select Similar tool.

ubbthreads.php?ubb=download&Number=6866&filename=Deselect%20similar.png \

thanks Chris

Edited by bcd

Share this post


Link to post

Yes, selecting by opacity criteria is new in VW 2012. For VW versions that have Opacity (VW 2008 and later), you can use the follow script to select object in a range of opacity values. It is similar to a script I posted a couple of weeks ago that selects 3D Symbols based on the Z Heights. You may see a pattern emerging.

PROCEDURE xxx;
{ 27 Mar 2012 - R. Mullin }
{ A way to select objects in a range of opacity values. }
{ Opacity values are in the integer range of 0 to 100, inclusive. }
{ Only visible objects on the current layer are affected. }
CONST
OpacityHi = 90;		{ Edit value to suit needs }
OpacityLo = 50;		{ Edit value to suit needs }
VAR
H :Handle;
OP :Integer;


function SelectByOpacity(H :Handle) :Boolean;
{ Select objects in the range of OpacityLo <= OP <= OpacityHi. }
Begin
	GetOpacity(H, OP);
	if (OP <= OpacityHi) & (OP >= OpacityLo) then 
		SetSelect(H);
End;		{ SelectByOpacity }


BEGIN
DSelectAll;	{ remove this line if you want to add to existing selection }

ForEachObjectInLayer(SelectByOpacity, 1, 0, 0);		{ Visible, Shallow, Current layer }
END;
Run(xxx);

HTH,

Raymond

Share this post


Link to post
a script I posted a couple of weeks ago that selects 3D Symbols based on the Z Heights. You may see a pattern emerging.

HTH,

Raymond

Thanks for this.

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.

Sign in to follow this  

 

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