chrispolo Posted January 3, 2019 Share Posted January 3, 2019 How can I select multiple extrudes with same height but different size and forms ? Please help It would really help me a lot Quote Link to comment
Marionette Maven Marissa Farrell Posted January 3, 2019 Marionette Maven Share Posted January 3, 2019 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 2 1 Quote Link to comment
RubenH Posted January 3, 2019 Share Posted January 3, 2019 Thanks for posting @Marissa Farrell! Quote Link to comment
chrispolo Posted January 3, 2019 Author Share Posted January 3, 2019 Thank you so much you spare me a lot of hours of work 😁 Quote Link to comment
Recommended Posts
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.