AutoCAD Civil 3D :: Option Or Lisp Routine To Create 3d Boundary From Closed 3D Polylines?

Jun 18, 2013

is there an option or a lisp routine to create a 3d boundary from closed 3d polylines?

View 8 Replies


ADVERTISEMENT

AutoCAD Civil 3D :: Lisp / Net Routine For Converting 3D Polylines To 3D Faces

Apr 2, 2013

Any program or routine in lisp or net that can select a group of 3d polylines in the form of a tin and convert them all to 3d faces?

I know that I can take the 3d polylines and explode them to 3d lines.   Then I can use map clean to delete the duplicate lines.   Then I can create a C3D surface using the 3d lines.   Then I can extract 3d faces from the surface.  

View 9 Replies View Related

AutoCAD Civil 3D :: Create Stage-storage Table With Six Closed 2D Polylines?

Nov 1, 2012

I'm trying to create a stage-storage table with six closed 2D polylines. They highlight when I select them, but nothing is loading in the Table?

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Have Routine To Find Polylines That Are Overlapping

Feb 26, 2010

I work with polylines a lot to maintain Facility Space and I come across polylines that are overlapping. Is it possible to have a routine to find polylines that are overlapping? Sometimes I really have to zoom in pretty close to see if they are overlapping and sometimes it's pretty obvious.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Creating Two Closed Polylines From One Shape

Jan 4, 2012

I have a series of boxes or polygones that I would like the program to find the 1/2 distance and create two seperate polylines from the one object. 

Example: 

I have a square with pt1,pt2, pt3 and pt4 respectively.  After I have ran the program it would create a diagonal from pt1 to pt3 and join the rest of the lines now to create the one polyline. Also it would do the same to create another exact polygonal shape for the other half. Thus creating two shapes of equal value from one.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Routine Required To Replace / Place Block On Each Closed Polyline?

Mar 26, 2012

Does any Lisp routine available to batch replace all the closed polylines with an existing block?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Segregate Closed Polylines In Drawing By Area Range?

Mar 21, 2013

I need to segregate closed polylines in my drawing by area range. Ideally, I would input the number of ranges I need.

Then somehow find the smallest and largest pline area to determine the range values (rounding up to a sensble number)

Then with the ranges determined the polylines would be segregated and moved to new layers.

I've been trying to hobble together pieces but with no joy.

View 9 Replies View Related

AutoCAD Civil 3D :: Illegal (self-intersecting Or Non-closed) Boundary Polyline

May 1, 2012

I always get the message after I make a closed boundary polygon, and I know it's a closed boundary, but I know how to fix it.  It just bugs me sometimes when the message pops up when I add it as a boundary under the definition of a surface.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Routine To Create Quick Preset Views

Oct 3, 2011

I am looking for a lisp routine that, when activated, asks the user to select the "preset view" (similar to the preset view command found in the ribbon, but instead smaller and quicker), enter name for the view, end.

If possible, perhaps a command, relating to the routine above, that can be placed in the short-cut menu (right-click), which will list the preset views (made by the user), and be selectable.

The approach is instant view change, where it is possible to apply the command, then reapply to go to another view.

if possible, surely there'd be some people that may be interested in this capability.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create Sub Areas From Intersecting Polylines

Oct 17, 2011

Essentially, I'll be creating a sort of Venn diagram.  So for the purposes of this exercise, let's assume it's the classic Venn diagram of three intersecting circles.  But I need this to work with closed polylines, that may also have arc segments in them.

Anyway, so I have these intersecting areas, and I need to create bounding polylines for each area, and assess the number of overlaps.  So, as in a Venn diagram, the areas where only one circle is present can then get shaded one color, areas where two circles are overlapping can get a different color, and the area where all three circles overlap can get a third color.

I'm clearly going to have to be converting the various boundaries to Regions, and performing some Unions.  It seems I could grab all objects, convert them to Regions 2 at a time, and compare their Union'ed area to their individual area, to determine if they overlapped at all.  With only the 3 cirlces, that would work, but when I have 35 individual polyline areas with arcs, suddenly this method feels like it will break down.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Create Polylines Using Notepad Coordinates

Mar 5, 2013

I have few co-ordinates in notepad like mentioned below. How can i create polyline using read-line function in auto lisp.

x     y
0.0,0.0
2.0,0.0
2.0,1.0
0.0,1.0
2.0,0.0
4.0,0.0
4.0,1.0
2.0,1.0

View 2 Replies View Related

AutoCAD Civil 3D :: Remove Phantom Parcels Lisp Routine

Apr 3, 2013

Any lisp routine that will remove "phantom parcels" in a drawing?  They are the parcels many topics on this discussion forum have topics on, that can be selected but can't be deleted by any simple means.

The drawing is relatively new...with minimal objects in it. Just some Feature Lines and 3D Polylines.  I have Sites in my drawing...but no parcels. Only thing in the sites are the feature lines.  When I do a Q SELECT for the parcels it selects and highlights my feature lines, which is weird.

View 5 Replies View Related

AutoCAD Civil 3D :: LISP Routine For Matching Point Properties

Nov 17, 2013

I'm trying to make a LISP routine that will match point style, label style, marker rotation, label rotation and layer for a selected point to multiple other points. I don't know what the exact variable names are or how to find them.

See the post below for code that is similar too what I'm looking for.

[URL]......

View 2 Replies View Related

AutoCAD Civil 3D :: Lisp Routine To Read From Directory Which Has Multiple Folders?

Jul 10, 2012

Having trouble with my lisp routine to read from a directory which includes several folders.  There is no problem when the files are all mixed in the directory but when dealing with hundreds of files, it makes sense to organize files by types.

Using (ade_aliasadd "BASE" "S:\") and there is no problems when the files are actually there and not in a subfolder called APN_DWG or EAS_DWG.  Should I be setting up the environment differently and if so how?

View 1 Replies View Related

AutoCAD Civil 3D :: Using Lisp To Do Drawing Cleanup - Adding DPF File To Routine

Jun 18, 2012

i've been trying to write a lisp shortcut for drawing cleanup but it keeps asking me for a profile name to load and i cant figure out how to add my .DPF file to my routine.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Larger Routine To Create And Rotate Text Based On Object Selected

Dec 29, 2011

the expression in question is part of larger lisp routine to create and rotate text based on the object selected and the viewtwist variable (we use dview twist to rotate our views when needed)

So the expression in question:
(< (/ pi 2) ang (* pi 1.5)
where ang is the total angle used to determine proper rotation of the text.

Now the problem. In most cases where ang = 90 (or 1.5708 radians) this works fine. the two exceptions i have encountered

in testing are a line at 70 degress, viewtwist 20, and line at 50, viewtwist 40. For whatever reason at these two conditions the expressoin evaulates True instead of nil and rotates the entire text object incorrectly (180 degrees). So question is how exactly is this being evaluated? i know its comparing ang (* pi 1.5) to (/ pi 2). is there some sort of rounding error? or maybe the expression needs a wee bit more definition? attached image and full lisp routine for reference of what is happening, blue text is angle of the line as created by routine at viewtwist 0.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create Closed Polyline And Convert It To Region

Oct 9, 2013

I'm trying to look for a LISP command where i will create a closed polyline with 4 sides in different angles. then convert it to region. 

View 6 Replies View Related

AutoCad :: Hatch Inner Boundary Of Closed Polyline?

Jul 6, 2012

I am trying to find a command that will hatch the inner edge of a complex closed poly line, rather than hatch the entire area inside the poly line.

When I have simple shapes such as a rectangle I create a smaller rectangle inside the first that is 1' (or whatever I want my hatched area to be) smaller on all sides than the first rectangle. I hatch by selecting the two rectangles; I change the "Associative" hatch property to "No" and then delete the inner rectangle.

My problem now is that I have a complex closed poly line that I would like to hatch the inner perimeter with a set thickness, say 1 foot. Is there an easy way to hatch a inner boundary of a closed poly line or to recreate a scaled down copy of the poly line that is a set distance smaller all around. I hope I have conveyed the question clearly enough.

View 3 Replies View Related

AutoCAD LT :: Hatch Spacing Too Dense Or Boundary Not Closed

Apr 25, 2013

I have a line drawing from a draftsman.  It was imported from some other program, but I'm not sure which.  However, this has cropped up many times over the years on my drawings as well as others.  It just is typically quickly remedied with a workaround.

The hatch spacing too dense issue requiring me to break up the area:  this problem will occur on equally sized areas at the same zoom factor at which I just hatched an adjacent area.  I have changed the "MaxHatch" variable environment from stock at 10k, to 100k, then to 1,000k; yet the problem persists.  I don't have a particularly fast machine so by that point I decided there was no need to max the variable at 10,000k. There are no z variables in the drawing though it appears, almost randomly, to have plines or lines along the same length of wall.

The second issue is the closed boundary.  This occurs on lines that are connected at all corners, even when I stretch and reconnect a line, though that is a very time consuming method.  When I increase the hgaptol variable it will hatch bizzarre areas that have no relation to what I am attempting to hatch.  This is also occuring even inside a REC that I created just prior to hatching due to error on the original layout.  I have to hatch an object rather than select an internal point.  It has become so obnoxious in this drawing that I decided to post with these questions.

View 2 Replies View Related

AutoCad :: Convert Polylines To Closed Polygon

Feb 4, 2011

How do i convert a series of polylines to one closed polygon (so i can calculate an area, hatch it, etc)?

View 3 Replies View Related

AutoCAD Civil 3D :: How To Create Polylines Using Survey Data

Feb 15, 2013

I want to create a road map using the survey data. Iv'e got some examples attached below.

How to create such type of drawings in autocad civil 3d.

View 2 Replies View Related

AutoCAD Civil 3D :: Shortcut / Routine Required To Create Multiple Surface Intersections At Once

Jul 2, 2012

I am doing bulk earthworks with C3D 2013 and quite often I am modeling large dam walls with multiple raises, core sections, filter layers, etc so I end up with up to 50 surface models in one drawing. The process I follow involves modeling each raise of the wall by targeting an elevation 10 metres or so below NSL. I then use a volume surface to give me the intersecting boundary between the topography surface and the wall raise surface. I repeat this process for each raise/core/filter section - create volume surface to find intersection, extract boundary of intersecting volume surface, add boundary to wall raise surface, put both on a unique layer calculate volume - repeat for next wall raise - ad nauseum.

To speed things up a previous draftsperson created a shortcut button on the ribbon that does the volume surface trick with one click so all i need to do is hit the button, select topo, select wall raise and it gives me the volume surface between the two, all i need to do is extract the border and add it as an outer boundary to the wall raise. I would like to take this to the next level if possible and this is where I an stuck.

If my drawing consisted of a topography surface and "X" number of wall raise surfaces all named in a uniform fashion ascending numerically or alphabetically would it be possible to write a routine/shortcut button that did the following;

1.) Create a volume surface between topo & wall surface 1 - extract border as polyline - add polyline as outer     boundary to wall surface 1 - move both wall surface 1 and newly created boundary polyline to unique layer.

2.) Repeat process for topo and wall surface 2

3.) Repeat process for topo and wall surface 3

.....and so on until all wall surfaces have had volume surfaces created between them and the topo?

View 7 Replies View Related

AutoCAD 2010 :: Hatch Area And Delete Polylines Then Reconstruct Boundary

Aug 25, 2009

I have several days of experience with Autocad 2010... The problem: I have many (a lot) polylines in my 2D drawing that are adjacent to each other, but not joined. What is a good way of joining them, so that those that "touch" each other become one? Maybe I can hatch the area, then delete polylines and then reconstruct the boundary?

View 9 Replies View Related

AutoCAD Inventor :: Getting Closed Loops From Polylines In DWG Files

Feb 26, 2012

I am trying to import a complex curve from autocad lt (in my case an airfoil), to create parts.  I have drawn the curve in autocad lt as a polyline.  Autocad lt treats the curve as a single object, and seems to understand it as a closed loop. 

When I import the curve into Inventor lt, Inventor treats the curve as a series of unconnected line segments.  What can I do in either Autocad lt or Inventor lt to get Inventor to treat the curve as a single object, so that I can then extrude it?

View 2 Replies View Related

AutoCad :: Hatch Multiple Closed Polylines In The Same Layer?

Apr 9, 2013

Basicaly I have a plan of a part of a city and I want to fill the houses with a solid hatch, I was wondering if I could do them all at once instead of picking an internal point one by one (there are a lot of them!).

View 4 Replies View Related

AutoCAD Civil 3D :: Query Point Cloud Boundary Then Add All Points Within Boundary

Nov 9, 2012

i need to know if there is any way to control the points in the point cloud.

1. either only import the point cloud in a polyline area i specify

2. add all the points within a boundary not limited to the pointclouddensity = 100, freaking default is 15 almost cost my job today. extremely stressed out right now.

i am talking about extreme lidar surveys. 1km 1km LAS/0.5m contours/xyz files times 355 of them. covers a 2km wide corridor. but i only need 100m wide after i define the road alignment. no need to have all the extra points.

right now i densify the heck out of it and end up like 5-12m points. decent but not good enough because the geotech is bitching about that accuracy is not good for some feasibility study. or is there any software i can do this besides civil 3d.

what i want can also do is automate the 'add points to surface" under point cloud and have the software do multiple boundaries without having me baby it over the night. right now every click is 5 minutes and adds like 400k to 1 million points. Civil 3D 2012

View 9 Replies View Related

AutoCAD Civil 3D :: Batch Create Points Along Multiple Polylines

Oct 9, 2013

I have the need to put COGO points along the vertices of multiple 3D polylines in a DWG.  I know how to do this individually for each 3DPL via the "Points>Create - Miscellaneous > Polyline Vertices - Automatic" or "CREATEPTPLYLNCTRVERTAUTO" command. Need tip on how to do this in a batch format for all the selected 3D PLines in the drawing without having to select each individual 3DPL and having to hit return to enter a description for each individual vertex?  I can do without having to add a description and can leave each description blank or enter the same description for each.

I'm Using C3D2013.

View 6 Replies View Related

AutoCAD .NET :: Selecting Closed Polylines With Linetype Generation Enabled?

Sep 5, 2013

I have a piece of code that needs closed polylines.

I use the following selectionfilter to filter the selection so I can only select closed polylines:

Dim sf As New SelectionFilter(New TypedValue() {New TypedValue(0, "LWPOLYLINE"), New TypedValue(70, 1)})
 
Today I noticed that in some drawings this filter won't select all the closed polylines for me.

After some experimenting I found the 'linetype generation' property of the polylines to be the problem. If this is enabled the above filter will not let me select a closed polyline. If I disable it, there is no problem.

How can I make my code for selecting closed polylines more robust? Is there a 'TypedValue' for closed polylines with the linetype generation enabled?

View 2 Replies View Related

AutoCad 2D :: Draw Multiple Closed Polylines From One List Of Coordinates In Excel

Sep 22, 2011

I'm trying to create about 150 cross-sections, each consisting of 9 closed polylines of which I have created the coordinates. My issue is making the list of coordinates create separate polylines instead of one enormous polyline. Any way to setup the columns, perhaps with blank rows, some way of applying ASCII code, etc. to automatically break up these polylines? (even if they aren't closed that's fine, I just need to make the polylines separate.)

View 1 Replies View Related

AutoCAD Civil 3D :: Lisp Routine For Thawing Layers Then Freezing Specific Layers

Dec 31, 2013

I would like to know how to write a routine to thaw all layers in current drawing and multiple xrefs; then freeze all, then thaw only certain layers globally for a drawing that is open.  Such as a dimension plan will thaw only *-BLDG, *-DIMS, *-RD-*, *BNDRY.

I would like to create one that will fit every project which has a different xref name.

View 2 Replies View Related

AutoCAD Civil 3D :: Offset Lisp Routine To Offset Selected Line?

Jun 7, 2013

I need an offset lisp routine to offset a selected line a set distance on each side of the selected line and change the layer of the offset lines to the current layer, and then keep prompting me to select the next line for offsetting until I'm finished.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved