AutoCad :: How To Create Minimal DXF File That Has Polyline

Jan 31, 2014

How to create a minimal DXF file that has polyline. I am using a C# program to create DXF File. Also if i want to hatch a closed polyline what might be the best way.

View 9 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: How To Locate WDP File With Minimal User Input

Sep 23, 2013

I am trying to locate a .wdp file with minimal user input.  this is what I have so far

;All file saved in this folder

(setq filedir "I://PROJECTS//")

;User will put the following in, but there might be a small description after 915-01.  That is why I have a wildcard

(setq filename (strcat "915-01*"))

; string together everything

(setq nextlevel (strcat filedir "JOB " filename "*" "//ACAD"))

;; the final path should look something like this:

I://Projects// JOB 915-01(something here... could be anything or nothing)//ACAD//915-01(something else could be here as well).wdp

;set file extension

(setq fileext ".wdp")

; search files

(setq wdp_file (vl-directory-files nextlevel (strcat filename "*" fileext)))

I am confused on where and when I can use wildcards for searching directories.

View 1 Replies View Related

Paint.NET :: Image File Size Minimal

May 24, 2011

I want to create images with minimal file size using .net.

View 3 Replies View Related

AutoCAD .NET :: Getting Minimal Polygon That Contains Given Point?

Nov 9, 2012

I am about to implement an algorithm that takes a point and gives minimal polygon that contains it. (or null, be there no such polygon) Observing the hatch command, one would think there is already functionality that covers this. But I fail to get on its track.

View 2 Replies View Related

AutoCad 3D :: Create (in 3D Workspace) 3D Polyline

Jun 13, 2011

I'm trying to create (in 3D workspace), a 3D polyline which starts from the "ground" and goes up the Z axis for 45 units (meters for example), then, the polyline continues "up" but in a 45 degree inclination, and then it goes up further but still 45 degrees from the last segment.

I attached a picture of this to the post, the top line is the one I want to create, and the bottom one is what I get.
The thing is that the 3dpoly command doesn't let me set the line on the Z plane, unless I fix it in ortho mode, and even after I do the first segment that way, the next one stays fixed in either the Z plane or the XY plane, but not in the 45 degree between them that I want....

P.S. - when I click the 3d polyline command, there are no options in the command area, just "specify first point...." - is this what should appear?

View 9 Replies View Related

AutoCad 3D :: Create A Solid From 3D Polyline

Jun 13, 2013

As part of a larger job we have surveyed the top of a dry stone wall. The client now wants that we make a solid for him from the surveyed points with a height of 2000mm (the drawing units are in millimetres).

A 3d polyline was created from the lines joining the points and I have that in the attached drawing.

I'm not looking for someone to create the wall, but I'm looking for the method to do it, as it will certainly crop up again with this new client. I've tried many ways in both AutoCAD and Civil 3D but just can't create the solid.

View 9 Replies View Related

AutoCad :: Create Set Of Points Around A Polyline

Jul 17, 2011

I'm currently trying to use the draw > point > measure tool to create a set of points around a polyline but I can't seem to get them to start at a point that I want. When I try and create the points they start from a random place.

View 3 Replies View Related

AutoCAD .NET :: Create Extruded Solid 3D From Polyline

Feb 11, 2012

I'm trying to create a Solid 3d that is the extrusion solid af a closed polyline by a given height

I select the polyline that i do this

Solid3d s = new Solid3d();
s.CreateExtrudedSolid(selectedPolyline, new Vector3d(0, 0, 20), new SweepOptions());

but Autocad throw an Invalid Input exception.

View 4 Replies View Related

AutoCAD Civil 3D :: Create Point From A Polyline

Aug 14, 2013

I want to create points from the polyline to identify in the field. For example, I create a square for a concrete pad and I want to identify the corners of the pad.  

View 4 Replies View Related

AutoCAD 2013 :: How To Create Lisp Polyline

Nov 5, 2012

i'm looking for polyline lisp. I type PLINE and type Width specify starting width is 0.0 next specify ending width is 90.0 and then i type 200mm for my distance then i choose again the Width to become 0.0 (starting and ending) then choose Arc. How to create lisp polyline?

View 1 Replies View Related

AutoCAD Civil 3D :: Create Drainage Polyline

Apr 16, 2012

Any way to create a polyline linetype that simulates a solid dashed with outer lines (drainage line)?

I could sort of do it with the multiline feature but not what we want.  using 2011 civil3D

View 2 Replies View Related

AutoCAD .NET :: Create A Polyline With Invisible Segment?

Jun 21, 2011

if it's possible to create a polyline with invisible segment.

View 4 Replies View Related

AutoCAD .NET :: Create Polyline With Insertion Point Prompt

Mar 13, 2012

I've been going through some examples on [URL] to create polylines and i've managed to make some code run. One thing that I can't seem to find information on though, is how to use the default AutoCAD command line options in my code. For instance, I would like to be able to prompt the user whether they would like to snap the polyline to an insertion point, everytime they create a new verticie.

Below is some example code from the site that i'm working from:

namespace MyPlineApp
{
public class MyPlineCmds

[Code].....

View 6 Replies View Related

AutoCAD .NET :: Extruding Open Polyline To Create Surface?

May 16, 2013

How do I go about extruding an open polyline to create a surface? I am able to extrude a solid 3d from a closed polyline ( by creating a region first) but I cant find a way to do the same for surfaces.The autodesk.autocad.databaseservices.Surface class does not have an extrude method unlike the its solid3d equivalent. I am using autocad 2012 .

View 1 Replies View Related

AutoCAD .NET :: How To Create 3D Polyline Based On Point3D Collection

Aug 23, 2012

I want to create a command:

My selection set consists of dbpoints that exists on my drawing and they are more or less in line

I create a new point3dcollection with this db points

I want to create a 3d polyline based on this point3d collection

My problem is : how to sort this point3d collection based on a picked start point and picked end point?

The only idea I have is:

from start point i calculate the distance to each point3d from collection and based on the results i sort the point3d collection based on distances.

View 2 Replies View Related

AutoCAD Civil 3D :: Create Ployline From 2D Polyline With Curves?

May 3, 2011

I want to create a 3d ployline from a 2d polyline with curves. When I use the convert 2d polyline to 3d polyline command it places a bunch of vertices along the curve so when I go to place elevations on the vertices it takes too long. I want to be able to give an elevation at the pc and pt and have it place elevations along the curve from this info like it does on the stright lines.

View 6 Replies View Related

AutoCad 2D :: Create Polyline Arc That Mimics Shape Of A Building

Jan 13, 2014

I have been sent a client's construction drawing for a care home where i need to design the sprinkler installation. The majority of the rooms have got the same head positions within them, but they have all got a slightly different angle as the building is shaped like a banana. Unfortunately its not a uniform radius that i can tell as the one side is larger than the other.

So my question is this. Normally, on a square building, I drop in construction lines along the bedrooms so that i know my sprinkler heads are all the same distance off a wall, and I only need to line up one side. However, with this building being a curve, and the wall angle being slightly different on each room, how do I place an angled construction line or polyline to act as my set out line for my heads.

View 9 Replies View Related

AutoCad :: Create A Polyline From Selected Cogo Points

Jan 28, 2012

is there a command (or method) that will create a polyline from selected cogo points instead of manually connected each point from a create line command?

View 2 Replies View Related

AutoCAD .NET :: Create Jig To Insert Hallow Slab (polyline)

Jun 8, 2013

I want to create jig to insert hallow slab (polyline) everything works fine until I am trying to use an added keyword for rotation then Autocad crashes really bad (no error information). Here is a code, in comment place where program crashes.

Ps: I've already been on through the interface and tried to use text jig but no result in my case

Imports SystemImports Autodesk.AutoCAD.RuntimeImports Autodesk.AutoCAD.ApplicationServicesImports Autodesk.AutoCAD.DatabaseServicesImports Autodesk.AutoCAD.GeometryImports Autodesk.AutoCAD.EditorInputNamespace AutoCAD_VB_plug_in1 Public Class [code]........

View 3 Replies View Related

AutoCAD Civil 3D :: Create Polyline From Figure Using BaseCurve Method

Nov 18, 2013

[URL]

You said that there is no need to flatten, but each method I have tried does not produce a polyline with curves.

I tried:

survfig.BaseCurve
survfig.BaseCurve.GetProjectedCurve
survig.BaseCurve.GetOrthoprojectedCurve

If if manually flatten the figure using a dummy suface with the AeccFeatureElevsFromSurf command, the polyline derived from survfig.BaseCurve will then have actual arc segments.

Is there another method or a way to flatten the figure programatically first?

View 8 Replies View Related

AutoCAD Civil 3D :: How To Create New Vertex Points In Line And 3D Polyline

Nov 24, 2013

I want to create new vertex points in feature line  and 3dpol.

I have this:
try
{
if (obj.GetType() == typeof(Autodesk.AutoCAD.DatabaseServices.Polyline3d)) {
Polyline3d p3d = (Polyline3d)trans.GetObject(entRes.ObjectId, OpenMode.ForWrite);

[Code]....

In this code line:

oFtrLn.InsertFeaturePoint(punt, AeccLandFeatureLinePointType.aeccLandFeatureLinePointPI);
 
always catches the same Exception "the value is not within the expected range" .I have translated it because I get "El valor no está dentro del intervalo esperado". Perhaps is this: " Value does not fall within the expected range.".

I have tried it with different point3d values but always catches  Exception.

With pol3d I have similar problem.
 
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit

View 4 Replies View Related

AutoCAD .NET :: How To Create Lightweight Polyline Using Existing Lines And Arcs

Mar 29, 2013

Using VB.NET, how to create a new polyline out of existing lines and arcs? I am converting existing VBA code into VB.NET, developing in AutoCAD 2010 using VS Professional and I just stumbled into this road block.

Without using programming code, this task can be accomplished via AutoCAD command by typing the PE command, selecting the JOIN option and then selecting any lines or arcs which should be combined to form a polyline.

Using programming code, however, I am quite stumped on this task. I have been able to successfully create the lines and arcs which should form the polyline, and they are all connected as well so they would form a connected polyline; I simply do not know how to proceed from here.

View 6 Replies View Related

AutoCAD .NET :: Create Construction Geometry That Would Behave As Polyline Bulge

Sep 9, 2013

I would like to create a construction geometry that would behave as the Polyline Bulge. In other worlds I would like to create a Construction Arc that would have a Bulge. Upon examination, I was not able to locate any of the Construction Geometry that has a bulge.

The purpose of this is to determine the Bulge location (direction) of the polyline I am creating.

I would like to stay away from creating a database geometry, if possible.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Create Arc Polyline With Entmake

Jan 4, 2013

I have run into a little trouble in trying to figure out how to create a arc polyline with entmake. I've put together the following and it works great with command "pline". I just want to know how to do it with entmake.

(defun C:22 ()
(setq P1 (getpoint "
Specify first point: ")
P2 (getpoint P1 "
Specify next point: "))
[code].......  

View 7 Replies View Related

AutoCad :: Create Polyline That Has Combined Dashed And Continuous Type Of Line?

Jan 16, 2012

So, is it possible to create one polyline that has combined dashed and continuous type of line in one polyline?

View 9 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 Civil 3D :: Export Polyline To Shp File

Jan 13, 2010

I am able to export to SDF but I get nothing when trying to go the two shp formats available. was a "parcel", but i exploded to polyline.

Do i need a patch to make this work? I am a C3D newbie and am struggling wit h user interface, but know that map export command line looks like it is supposed to work.

View 5 Replies View Related

AutoCAD Map 3D :: How To Add Direction Arrow To Polyline Features In SHP File

Mar 9, 2011

I need the features shown in a connected SHP file to display an arrow indicating their direction (i.e. -----> or ----->-----). This seem that it would be important to anyone using Map for municipal engineering (sewers tend to be directional!), drainage (so are culverts!), etc..The difficulty in doing this simple task is just adding to my hatred of Map (especially given the amount of money I've spent on Autodesk products)!

View 6 Replies View Related

AutoCad :: Polyline To Convert It To Kml File For Use In Google Earth

Jun 8, 2011

I have a polyline AutoCAD 2010 and would to convert it to a kml file for use in Google earth.

View 3 Replies View Related

AutoCad 2D :: Drawing Polyline To Have Tooltip Box Show Cumulative Length Of Polyline

Nov 6, 2013

Is there a way, when you are drawing a polyline, to have the tooltip box show the cumulative length of the polyline, rather than the length of the current segment being drawn?

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Reduce Polyline With Multiple Vertices To Single Polyline

Jun 7, 2012

I would like to take all the vertices out of a multiple-vertices polyline so that it reduces to just its start and end points, can this be done?

View 4 Replies View Related







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