Palacean Posted March 26, 2013 Posted March 26, 2013 Hello, I made a small plant and to create pipes i used cylinders, now I need to create a material list and for this I need to extract the radius(diameter) and height for each cylinder, but i don't know how. Can someone help me. I am having lot's of cylinders (2000 elemets). I put also a sample here. Thank you! Sample.dwg Quote
JD Mather Posted March 26, 2013 Posted March 26, 2013 I didn't look at the file, but I suspect you should have used Blocks with Attributes. Quote
Palacean Posted March 26, 2013 Author Posted March 26, 2013 No, the cylinders have different diameters and height, and I need to count their sizes by diameters and height to make the material list. For example let's say I am having 4 cylinders: a. d1=20, h1=1000 b. d2=50, h2=1500 c. d3=50, h3=1000 d. d4=20, h4=2000 I need to extract the diameters and height for making the material list: d=20 - htotal =3000 d=50 - htotal = 2500 But I am having 2000 cylinders with differt sizes. So how I will extract the diameter and height for each cylinder(2000 elements!) Quote
ReMark Posted March 27, 2013 Posted March 27, 2013 I agree with JDM re: blocks and attributes. Since you are working with solids the List command will only give you the height. No diameter and no count. Massprop will give you the height and the diameter but it does not use those exact words plus you don't get a count. The Dataextraction command won't give you anything of value. Quote
Palacean Posted March 27, 2013 Author Posted March 27, 2013 something like this will not be ok: http://forums.augi.com/showthread.php?75769-Extract-the-radius-of-a-3D-cylinder-using-LISP Quote
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.