AutoCAD .NET :: Executing Intersect With Between Polylines And Lines

Nov 25, 2013

I have a problem while executing intersectwith between polylines and lines

the polyline execute intersectwith method referencing a line object with expandboth parameter value but sometimes , the intersection is not found

when using expandthis or expandargument values, I have no problems

I'am using VS2012 express and Autocad 2014

the attached project containt :

  an image (result;png) showing my result

  a dwg file (dessin3.dwg) , it is my test file

  the source code for testing , (test" command)

it find all polylines and all lines in the drawing , compute the intersections between each couple and draw a dbpoint on each

View 3 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Intersect Between Two Lines Using Start And End Values Of Two Lines

Oct 11, 2013

With all of you fine teachers, I have the know-how to get the start and end values of a line.

Do you think there is a way to get a point returned that represents the true intersection of the two lines, without having to involke a user defined "getpoint" function using "intersect" osnap?

View 9 Replies View Related

AutoCad :: How To Draw 3D Polylines Or Convert Single Lines To Polylines

Oct 9, 2013

How to draw 3D polylines, or convert single lines to polylines?

this.JPG

View 7 Replies View Related

AutoCad 2D :: Make Center Lines Intersect On Lines And Not On Free Spaces?

Oct 26, 2011

what I have to do, in AutoCAD, to make two center lines to intersect on lines and not on free spaces.

View 9 Replies View Related

AutoCad :: Extend Two Lines Until They Intersect?

May 9, 2011

I am wondering if there is a function that takes two lines that are not parrallel and will extend them until they intersect?

View 9 Replies View Related

AutoCad :: Breaking Multiple Lines Where They Intersect?

Apr 12, 2012

how i can break multiple lines where they intersect, I have done research on Qbrick but cant seem to download one that works

View 1 Replies View Related

AutoCAD 2013 :: Intersect Two Endpoints Of A Line With Two Adjacent Lines

Apr 19, 2013

The green line is parallel with the blue line. I want to move the green line upwards until its endpoints intersect with the two red lines.

View 9 Replies View Related

AutoCAD Civil 3D :: Daylight Lines Intersect At Turn Segments

Jun 20, 2012

I've created a corridor with a Cul-de-sac. The problem is that the daylight lines targeted to the existing ground intersect at turn segments: 

which results in defects of corridor surface:

I wonder if there's a way to overcome this.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Lines / Plines That Intersect Given Pline

Sep 13, 2012

I need to change the color of all lines/plines that intersect a given pline. How would I go about making the selection set of all lines that intersect that given pline.

View 8 Replies View Related

Illustrator :: Anchor Points And Intersect Guide Lines Disappeared

Nov 3, 2013

I must have hit some type of command on my keyboard but now my anchor points and intersect guides have disappeared that would normally appear when I roll my mouse over the anchor point or the intersecting paths. I have hit Ctrl + H as well as went to the menu manually and my edges are showing. How do I turn back on this ability to see my anchor points and intersecting lines guide in Illustrator?

I run on Adobe Illustrator CS5

View 2 Replies View Related

Revit :: Creating Complex Profile Of Window Frame With Sweep - Lines Cannot Intersect

Apr 8, 2013

I am attempting to creating a complex profile of a window frame using the Edit Profile command within Sweep.  It tells me that lines cannot intersect.  How can I draw more that just a simple rectangular profile?

View 3 Replies View Related

AutoCad :: Joining Lines Into Polylines

Oct 18, 2011

Joining lines into polylines in autocad 2007. Basically, I got stuck when joining several lines together using PEDIT and then Join. At the start, it was very smooth process with no drama. Then, I came across two polylines and wanted to join them together, it just did not work. It works most of the time. Why I can't join certain lines together or two polylines together. This is a 2D drawing CAD.

View 3 Replies View Related

AutoCad 2D :: Converting Lines To Polylines?

Oct 9, 2012

i was wondering if there is a way to convert multiple lines (non collinear) into polylines?

this to be able to add the "global width" property to the objects.

View 9 Replies View Related

AutoCad :: Convert Lines To Polylines?

Jul 15, 2011

how to convert a bunch of lines into one continuous polyline?

View 9 Replies View Related

AutoCad 3D :: Can Multiple Lines Be Changed To Polylines

Jun 29, 2012

If i create a box in 2d,after extrude,it is a solid;but if i create 4 lines to form a box ,after extrude,it is 4 walls?is it possible ,if i have many lines,to convert mulitiples lines to polylines and i can create a solid easier?

View 9 Replies View Related

AutoCAD Civil 3D :: Any Way To Convert Group Of Lines To Polylines

Nov 1, 2012

On several occasions I have had to convert a group of lines to polylines but had to select and convert each line one after the other. Instead of one after another is there a way or a command to select all the lines and convert them as group into polylines?

View 7 Replies View Related

AutoCAD .NET :: Getting Intersecting Point Coordinate Of Two Polylines (lines)

Jul 12, 2012

I wonder if there is a way to get an intersecting point coordinate of two polylines(lines) programmatically.

For example, like in the below sample picture, I need to get coordinates of the points in the red cycles. 

Is there any method that I can easily use?

Could I get a sample code snippet that computes the coordinates? (in C# & ObjectARX 2010 if possible?)

I've looked up "Through the Interface" and this disscussion group. couldn't find any useful yet.

View 5 Replies View Related

AutoCAD Civil 3D :: Exploding Feature Lines To 3D Polylines

Oct 30, 2013

I have several featurelines that I wish to explode to be 3D Polylines (bad, I know, but it's a test for a way to get data across from our design group to our survey group). 

Last week, in this drawing, I exploded a large selection of featurelines and they all became 3D polylines, preserving their elevation data. This week, I drew an additional set of featurelines in the same drawing.  When I explode them once, they lose all elevation data, becoming lpolylines at z=0.  Additionally, the Prospector shows me several errors: "breaklines not added to surface" or something similar.  Which is an odd result for the explode command. 

Why did this work once but not a second time?

Win 7E 64-bit, Intel i7, 12 GB C3D 2012

View 9 Replies View Related

AutoCad 2D :: Can't Get Polylines To Plot At Same Weight As Standard Lines

Feb 22, 2013

Click this link below to see my issue:

[URL]....

Despite numerous different efforts, I can't get my polylines to plot at the same weight as my standard lines.

I'm not sure whether my issue is specific to lineweight, thickness or global width..

I've tried the latter two via qselect for all polylines within my selection; this didn't work.

I've put all selected lines (std and poly) into one layer with a layer default lweight. This didn't work either.

My workaround was to xplode all polylines within the selection and then they all plotted as required.

View 7 Replies View Related

AutoCAD Civil 3D :: Lines And Polylines - Blue Flag Flyout

Dec 11, 2012

What is the blue flag flyout? I cannot move any lines or polylines without it moving whatever is attached. I do have service pack 1 installed.

View 7 Replies View Related

AutoCad :: Make Join Command Work Only On Lines Or Polylines?

Aug 14, 2013

I Wonder if it's possible, with a setting or something like this, to make the join command work only on lines or polylines that had the same linetype?

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Convert Polylines Into Double Lines With Hatch

Feb 10, 2012

I need a function that allows to convert the polylines selected with a width globalize defined in a double closed line (spaced by the same width of the polyline), with a hatch inserted automatically defined.

Brilliant idea to draw raceways quickly: instead of making handmade double lines, connect, enter the hatches all by hand, you could quickly draw the polyline with width identical to the size of the duct, and then the lisp transform it into a duct more aesthetically pleasing if compared to the full polyline!

View 9 Replies View Related

AutoCAD 2010 :: Converting Polylines With Width And Text Into Close Polylines

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

AutoCAD Civil 3D :: Convert Metric Polylines To Metric Feature Lines Error

May 9, 2013

When converting metric 3d polylines to feature lines with units set on metric, drawing properties metric and using the australia/new zealand settings and command "create featureline from objects", for some reason the resulting 3d featurelines end up imperial?

View 2 Replies View Related

AutoCad :: Converting 3D Polylines To Polylines With Elevation?

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

AutoCAD LT :: Transform 1000 Lines To 1000 Polylines?

Dec 19, 2013

How can i transform 1000 lines to 1000 polylines ?

View 1 Replies View Related

AutoCAD Map 3D :: Executing Query During Zoom

Mar 31, 2010

I have a county wide aerial image in jp2 format, connected through Data Connect and every time I pan or zoom it says "executing query". It is very slow getting around in the drawing (tracing over tree line, roads, etc.). I have a Windows 7 64-bit machine with 6 GB of RAM. Is there a setting I can turn off to make zooming, panning, changing layouts, etc. faster?

View 3 Replies View Related

AutoCAD .NET :: Changing Document Focus While Executing A Command

Sep 30, 2012

I am occasionally developing with ObjectARX 2013. The problem: A command being executed from a document needs to focus on another document. I am doing that as:

Application.DocumentManager.MdiActiveDocument = aGeneratedDrawing;

After this line, the focus is taken by the other document. But the command execution just stops without producing any visible error or catchable exception. Apparently, the document focus cannot be changed during execution of a command.

A solution: What worked in the end was displaying a .NET form inside the command, like:

Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(aForm);

Then, performing the very same set of actions on a button click works flawlessly.

The question is: can using the form as a mediator be avoided? It is redundant there. I tried hooking to CommandEnded, executing the code as a separate command via Application.DocumentManager.MdiActiveDocument.SendStringToExecute, and also executing the code in a separate delayed thread. So far, only triggering the code via the form worked.

View 4 Replies View Related

AutoCad :: Losing Zoom By Executing The Plan Command?

Dec 6, 2013

when i work on geometry which is not in orthographic orientation i always prefer to create orthographic view of this, that's what i do :

Command : ucs
Command : z
Command : (selecting representative angled 2 points)
Command : plan
Command : c

than the whole zoom is lost , and i need to find again the portion , and save a view. i want to automate this process but before i automate it i want to know if there is a way to avoid zoom lost after executing the (plan) command?

View 7 Replies View Related

AutoCAD Inventor :: Prevent User To Start Other Command While Executing A Macro

Feb 21, 2013

I have a macro that automatically creates a Detailed view on a sheet. It works on 2 input's:

- mouse click 1 (set's the target to be detailed)

- mouse click 2 (set's the location where the balloon should be)

The code works fine. But sometimes the user will start another command, or restart the same command, while it is still running. This off course gives all kinds of problems.

Is there a possibility in VBA to prevent the user to start another command while this command is running?Or is this problem a part of the clicking itself?

Here is my (it uses a Class Module called: clsGetPoint, see code below)
Sub AutoDetailedView() On Error GoTo ErrorManagment '(error handling 2013/02/18) 'step 0 Create a transaction. -> for 1 undo command Dim oTransMgr As TransactionManager Set oTransMgr = ThisApplication.TransactionManager Dim oTrans As Transaction Set oTrans = oTransMgr.StartTransaction(ThisApplication.ActiveDocument, "AutoDetailedView") 'step 1 Select a drawingView 'Set a reference to the drawing document. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet.
[code].....

View 5 Replies View Related

AutoCAD Inventor :: 2014 Crashes While Executing Revision Table Edit?

Dec 21, 2013

Inventor 2014 crashes when executing revision table edit. This started after installing windows 7 SP1(x64) and SQL server 2012 express (x64). 

View 1 Replies View Related







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