Jump to content
chrispolo

Is it possible to select multiple extrudes by height?

Recommended Posts

How can I select multiple extrudes with same height but different size and forms ?

Please help It would really help me a lot

Share this post


Link to post

Here's a python script that will prompt you for a height and select extrudes in your document that have that height.

It's in its simplest form, I just threw it together.

 

I've also attached a plug-in file that you can put in your user folder to add as a menu command in your workspace.

 

xtrds = []
def Add_Handle(obj):
	xtrds.append(obj)
			
vs.ForEachObject(Add_Handle,"T=XTRD")

dim = vs.DistDialog('Extrude Height', 0)
sameHeight = []
for xtrd in xtrds:
	height, width, depth = vs.Get3DInfo(xtrd)
	if depth == dim:
		sameHeight.append(xtrd)
		
vs.DSelectAll()
for obj in sameHeight:
	vs.SetSelect(obj)

 

Select Extrudes of Height.vsm

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