AutoCAD .NET :: Replace All 3D Polylines With Cylinders
Feb 21, 2013
I'm trying to automate a simple yet massively tedious task at the moment. Certain layers of my drawings contain 3D Polylines that have to be converted to cylinders. What I need to do is select all 3D Polylines in a specific layer and automatically convert them to cylinders, these cylinders will all share the same hardcoded diameter, however will retain the x,y,z, positioning of the 3D Polylines. The way that I'm approaching i'm attempting right now is to use a selection filter to select all 3D Polylines, save their co-ordinates into an array, create the cylinders using these co-ordinates and then deleting the existing polylines.
View 9 Replies
ADVERTISEMENT
Jan 2, 2014
As the above mentioned, I have a drawing drawn using polylines with width from someone. The width of the line are suppose to represent area,
To put things into prospective, here is an example:
The polyline is 10 unit long and with a width of 2 unit wide. If i explode that polyline, it will become a single polyline without width. The line are suppose to represent 10 unit long and 2 unit wide; representing an area.
My question is is there a way to change the line above directly from polyline with width to a close polyline (4 x polylines) of 10 unit long and 2 unit wide.
View 2 Replies
View Related
Oct 9, 2013
How to draw 3D polylines, or convert single lines to polylines?
this.JPG
View 7 Replies
View Related
May 28, 2012
I'm having two assembly issues. I've attached the parts that I made and a little sketch to make it clear what's going on.
First, you'll see two curved pieces attached to a cylinder. I can't make the wholes on the side line up and mate. I'll get mates but they're in the wrong places. The two holes on the side of curved bar should meet up with the two holes on the straight cylinder.
For the second one, I can't get the smaller armpit piece to fit inside the larger, black piece. I've gotten so it seems snug but then one little part of the "plastic" piece sticks out the top of the black piece. Hopefully the drawings make it clearer, but I attached the parts as well.
View 5 Replies
View Related
May 12, 2013
I have created the model in the picture in AutoCad, but I do not know how to create it in Inventor. In Inventor I Know how to extrude and draw 2d/3d sketches, but this simple model it is impossible to me.
It is a simple 3D part, no sheet metal or pipe. It is an structure. I have copied it sliced to make more clear the geometry that I am looking for create.
View 2 Replies
View Related
Jan 20, 2006
Is there a way of converting 3d polylines to polylines with an elevation?
I have a dwg of contour information, the contours are 3d polylines, because they are contours the z value is constant all along the line, so there no question what the elevation of the polyline would need to be.
I need to do this as I then need to import the dwg into a GIS programme called MapInfo whch doesn't read 3d polylines.
I have access to AutoCAD 2004 or 2005LT.
View 9 Replies
View Related
Dec 28, 2012
I have 2 different diameter cylinders and I would like to create a plane that is tangent to both.
View 7 Replies
View Related
Apr 14, 2013
How to convert a 3'-6" radius 4" OD single line 90 deg turn int a solid cylinder (90 deg elbow pipe fitting).
View 2 Replies
View Related
Mar 26, 2013
I design a small plant in Autocad 2012. For the pipes we used cylinders, now we need to make the bill of materials, but I don't know how to extract the data from each cylinder(radius and height), after I will be able to do this, I can make the material list, but I don't know how and I am having so many cylinders.
View 9 Replies
View Related
Dec 7, 2012
I am just getting started. I am modeling some tanks pumps and piping. How can I 3d rotate boxes and cylinders and constrain to 90 degree rotations?
View 9 Replies
View Related
Jul 23, 2013
I design a small plant in Autocad 2012. For the pipes we used cylinders and boxes(for square pipe), now we need to make the bill of materials, but I don't know how to extract the data from each cylinder(radius and height) or box.
It is possible to do this?
I place a small sample from the plant. Totally I am having around 6000 elements.
View 9 Replies
View Related
Feb 23, 2012
i have a csv file that has 6 columns, PNEZD and a 6th column which is my notes..i type a star in the data collector after my code, make my note, and then find/replace after i export it and replace star with a column..that gives the desired 6th column in excel that my boss wants....problem is he also wants to see that next to the Full Description in Civil 3d 2012...i tried adding a Point File Format with a 6th Column, User Defined, String for type...named the column Notes...but if i go to edit the point there is no 6th column in the Tool Palette.
View 1 Replies
View Related
Jan 4, 2012
How can i convert more polylines to one?
View 4 Replies
View Related
Nov 22, 2012
Over the past year I have been working on quickly generating vertical cross sections through 2D lines. I have exhausted all of my connections with fellow AutoCAD users and I still haven't found an efficient solution.
The material I'm working with is a bunch of polylines that kind of resemble branching tree roots from dozens of trees. The polylines sprout from seed points and then branch and cross each other as they move down. I need to generate many vertical sections through the lines. Since the material is composed of lines a slice along a plane would only generate points. I need to take a slice of a volume of lines so that the paths are preserved.
I have tried creating two vertical parallel planes and then using the slice tool on each plane. This would break up all of the polylines at the intersection with the planes so I can manually delete all segments that are not between the planes. This is time consuming, and also leaves room for error when manually deleting line segments.
The ideal tool for efficiency and accuracy would be Section Line. I could create a section line, convert it to a volume, and generate a 3D section with the option to save the section to a new file. The problem with this is that the section tool only works on solid 3D objects. I have considered sweeping a small diameter circle along each polyline to give them volume, but this would take days to weeks of work.
Is there a better tool or method for creating 3D sections of a volume of polylines? Are there any tricks that can be used to allow the 3D section tool to work with the polylines? Maybe I could convert them to a different type of object.
I am using AutoCAD 2013.
View 3 Replies
View Related
Feb 21, 2013
Just can´t find out how to join these 4 polylines:
Bank.dwg
View 9 Replies
View Related
Dec 9, 2011
I have a drawing that is a topigraphical survey in 2D its constructed of 2D polylines, I need to convert these to 3D polylines so I can add a Z vertex then move the lines/contours to their Z value currently illistrated by text on the plines.
change the line types and easily move the lines to their correct Z value?
View 5 Replies
View Related
Jun 26, 2013
I have drawing with lots of pol)lines which are intersecting themselves.
I would like to divide all selected lines by the point of intersection.
I have this
[CommandMethod("BRA", CommandFlags.UsePickSet | CommandFlags.Redraw)] public static void TestIntersectAllLines() {
Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; Editor ed = doc.Editor;
[code].....
But it seems to doesn't work properly - some lines are not erasing, some are not intersecting in each point.
View 4 Replies
View Related
Jan 3, 2013
I have drawings at the moment where I need to convert some lines to polylines. I know you can use PEDIT and PEDITACCEPT=1 but i want to match properties at the same time.
Just wondering if there is a comand or lisp routine that duplicates the MATCHPROPERTIES command but converts lines to plolylines at the same time, this way all i would need to do is type in the appropriate command and select my source polyline and get multiple duplicate polylines by clicking the lines I wish to change?
View 5 Replies
View Related
Jul 7, 2011
In the ipt. sheet metal file, we create the flat and export face as a dxf file to use in our cnc software.
The problem is that our shop guy cannot open the dxf in the cnc software (he gets an error) unless we open the dxf in Autocad and explode it and resave. For some reason, Inventor creates the dxf with the perimeter of the part as a polyline.
Is there a setting that could keep it from making it a polyline.
It is time consuming to have to go into Autocad, explode and resave every sheet metal part.
We use Inventor 2010.
View 1 Replies
View Related
Sep 25, 2013
I have a task of finding the lines which are overlapping on each other (not completely). One Plines start or End point will be on another lines(without snapping). Need to find all those such lines..
View 1 Replies
View Related
Jun 9, 2011
We need to take polylines from AutoCAD Map 3D to 3ds Max and rename each polyline to have a name of something like "Building Number-Room Number", both of which are defined in our properties for each polyline. Because none of this data is kept on import to Max, we need to do this all in Map 3D, which we are not experienced with. Is there a way to do this, and if so what? We are importing the .dwg files in Max with polylines as splines.
View 2 Replies
View Related
Apr 7, 2011
The Project: Determining erosion setback elevations for hydroelectric requirements: increased water levels due to flooding.
I'm trying to create a DEM from contour polylines that were downloaded from a Government website.
The 2d shp file was imported and since the area in question is relatively small I've set the contour lines to the elevations they represent by hand. Now I'm trying to create a pseudo DEM from them. I need to create a 3d surface and then from there determine a rough idea of an erosion setback at a certain elevation.
Basically, the contour lines are set to 710', 725' and 750', the elevation setbacks are around 720' and 730'. Is there a way to create a surface between the three elevations and then show single solid polygons at the 720' and 730' elevations? And further is there a way to create a polyline at those two elevations to show an approximate setback on a sketch of the area?
View 5 Replies
View Related
Dec 7, 2011
How do you draw polylines in different planes? If I set the normal it does nothing. I would like to use polyline2d because you can use bulges and not with polyline3d.
<CommandMethod(
"testpline")> _
Public
Subtestpline()
'' Get the current document and database, and start a transactionDim acDoc AsDocument = Application.DocumentManager.MdiActiveDocument
[code].......
View 2 Replies
View Related
Aug 16, 2011
Is there anyway to lock the direction of polylines? I have several drawings with diversion ditches. I use the linetype to show the direction of flow but antime I have to change ltscale or linetype, it reverses the direction. This can be an easily overlooked situation and a time consuming one to correct.
View 4 Replies
View Related
Sep 9, 2011
I have topo contours that are splines. I want to flatten them so they become polylines that I can give elevation values. When I flatten some, portions of the topo lines become circles.
How do I fix it?
View 1 Replies
View Related
Mar 3, 2010
I believe I have a settings issue for which I am stumped- My polylines are visually appearing grey when I open just this one particular dwg. I have rechecked my layers and plot settings and all seem correct. When I click on the polyline (or any of them) they are on the correct layer and also by color layer and in the properties box - everything seems to be correct. I can draw new lines and they are the correct color - UNTIL I close and reopen the dwg and all polylines change to gray - BUT only visually - the layers still have the correct color and they will not even plot in color.
View 6 Replies
View Related
Nov 27, 2013
I'm in search of a way to convert mpolygon objects to polylines in a way so they stay on its original layer. We use Layer Explode (lexplode) from Vianova but it doesn't work with Autocad Map 3D and they are not planning to develop it.
View 6 Replies
View Related
Oct 10, 2011
For my project, i'd like to convert Mtext into polylines (or lines or other...) with vb.net (why? because my company is working with laser, and laser can't write text like this, we have to convert it into lines/arcs/splines etc...)
View 6 Replies
View Related
Jun 25, 2011
I've got ObjectIds of a bunch of arcs that I need to convert to polylines for further processing.
I was thinking of using the COM interface and sending the PEDIT command and converting the arcs.
The only problem is I don't know of a way to put the objectids into a selection set, then call the pedit command and use the previous selection.
View 4 Replies
View Related
Jun 29, 2012
Is there any way to have 3d polylines show a linetype? I need to have my contours that are created as a 3d polyline show up as a hidden linetype. These polylines came from an aerial mapping and have lots of vertices.
View 5 Replies
View Related
Sep 13, 2012
Using my ipt flat pattern, I export the face as a Rel. 12 dxf for the file to be used in our cnc software.
I'm having a problem that the guy in the shop cannot open the dxf unless I open the dxf in Autocad and explode it.
Inventor is creating the perimeter as a polyline.
Is there any setting I can change to prevent the polyline creation?
I have also noticed that, in some instances, through the bend area, that after I explode the file, there will be like 127 lines on top of each other.
Again, is there a setting I can change to prevent all of this?
Lenovo Think Pad
Windows 7 SP 1
64 Bit.
Inventor 2013
ACAD Mechanical 2013
View 2 Replies
View Related