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


ADVERTISEMENT

AutoCAD .NET :: How To Test For Existence Of Self Intersecting 2D Polylines

Apr 8, 2011

Im trying to write a routine in VB.net based on Fenton's examples from 'Zero to 3D in 60 Minutes'. the routine uses a filter set to select all 2D polylines in a document then a test is needed for each polyline to establish whether it is a loop, which can then be extruded into a solid or it is a non loop, where the operation will need to be an extruded surface, or if the polyline is a non-loop.

So far my code will pick up every 2D polyline and try and extrude it, but i need to catch the non-looped entities to handle them with an extrude surface method or if self-intersecting polylines, to either drop them and not cause an exception or process them in another way.

What entity attributes or methods should I use to perform testing to establish this loop and non-loop existance of the polylines to achieve this. I work with both C# and VB.net.

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 :: 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 Inventor :: Parts (Lines) Intersecting In View Mode (IDW)

Aug 6, 2012

Attached shows lines (Parts) are intersecting each other in drafting mode. I have tried all but I am not able to resolve this issue.

View 1 Replies View Related

AutoCad 2D :: Dimension Line As Label And Marking Intersecting Lines

Sep 11, 2012

I have recently starting using dimensions lines with overwritten text to label items (as it is a quick way to label multiple identical items).

What I'd like to add is a mark (like an architectural tick/oblique) each time the dimension line intersects one of the items.

View 4 Replies View Related

Illustrator :: How To Combine Intersecting Lines

Sep 5, 2013

It also includes some editted type that intersects with more editted type.  I really to need to combine them to a single line without the intersection of the half "x" and the top serif of the "g".  I included a project file.
 
PS: I had attempted to use the Pathfinder Unite command, with no success. URL....

View 3 Replies View Related

AutoCad :: Show XY Coordinate For Certain Point

Feb 20, 2010

I'm having a problem with showing the both x,y coordinates for a certain point , know how can i do that , and by the way I'm using Auto-CAD 2005, because whenever i try to show it , it either show the X - coordinate or the y - coordinate alone but i need to show both of them for example this point (4.2 , 2.2).

View 9 Replies View Related

AutoCad :: Merging Polylines To Go From Point A To B

Nov 29, 2011

If you are drawing a polyline....and (in looking at my pic) draw from point A to point B an then back up to point C, is there a way to merge the poly so that it only goes from point A to point B?

View 9 Replies View Related

AutoCAD Inventor :: How To Obtain Coordinate Of Center Point

Dec 25, 2011

I made a complex assembly from Solidworks few years ago. I imported it to Inventor 2012. How can I find the coordinate of the center point of the: a) parts/sub-assemblies, b) the complex assembly as a whole?  Under Application Options, I have already checked: Sketch->Display->Coordinate system indicator.  Under the assembly tree, I can go to the Origin of each sub-assembly/part and make the corresponding Center Point visible. However, I want the x,y,z values.

I copied and pasted a sub-assembly/part to a new assumbly file and then used VRMLout to export. When I imported the .wrl files to another application, the location of the parts/subassembies are not correct. I think they all became (0,0,0).

View 3 Replies View Related

AutoCAD Civil 3D :: Create Point From Coordinate And Elevation Data

Jul 28, 2012

Is there anyway to create a point from the coordinate and elevation data listed in a section inquiry panel (see attached)?

View 3 Replies View Related

AutoCAD 2013 :: How To Set User Coordinate To Always Start In Last Snap Point

Jan 9, 2014

Before when I was creating models the origin (0,0,0) was always set in the snap point i started the line in. Now suddenly something happend and now 0,0,0 is always starting in the Original XYZ point.

How do I get back to the old settings?

View 6 Replies View Related

AutoCAD .NET :: Getting Coordinate Of Lastly Appended (added) Point Object

May 2, 2012

I am trying to get the coordinate of the lastly appended(added) point object.

It seems like I need to use "ObjectAppended" event.

However, when the event is triggred, it looks like the sender object is "Database" (not Point object).

How could I retrieve the point object therefore the coordinates of the point using "Database" (sender object)?

View 3 Replies View Related

AutoCad 2D :: How To Set 0 Coordinate Without Screwing With Copy Paste Base Point

Apr 15, 2013

How to set 0 quardinates without screwing with the copy paste base point?

I use the command UCS, Object, Select my base point and measure from there rather than cluttering measurement lines; however, without using UCS, Previous when ever i copy and paste the base point for the copy paste is off.. yes i can reset just wondering why it does this.

View 9 Replies View Related

AutoCad 2D :: Lines Are Non Coplanar - Z Coordinate Is Not 0

Feb 10, 2008

I've been having a drawing problem at work lately on Autocad 2007. Some lines I draw cannot be filled so I have to trim them instead. The reason why is that these lines are not coplanar. I've also noticed that the Z coordinate is not 0 and have checked on the 3d View that lines are awfully not in the same plan. Does it have to do with the X-line?

View 9 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 2010 :: X / Y Coordinate Green And Red Lines

Mar 28, 2012

How the heck to you turn off these stupid green and red x/y coordinate lines in Autocad?

View 6 Replies View Related

AutoCad :: Join Command - Unable To Select All Polylines (Touching At One Point)

Oct 25, 2011

While i am using Join Command, I Could not able to select all polylines and also could not able to make those are join together (which those are touching at one point).

How to do the above funtion?

View 3 Replies View Related

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 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

Photoshop :: Enlarge Image Of Multiple Intersecting Low Resolution Contour Lines While Avoiding Pixelation

Feb 28, 2012

Problem: How to enlarge (100 times) image of multiple intersecting low resolution contour lines wile avoiding pixelation?

Simple answer: It can't be done.

Second thoughts: Well, under some circumstances it can be done... sort of. For example if lines are orthogonal to begin with then simple re-sample to nearest neighbor algorithm will do fine. If lines are simple enough, then tracing them with pen tool and recreating the original lines at higher resolution by stroking the paths with a brush will do also. Also if original lines are smooth and thick enough then some re-sampling, blurring and leveling can work (anisotropic diffusion filter may work) but will produce smoothing artifacts at corners.

From what I can see the problem boils down to creatively converting the original lines to vectors (paths / shapes) and avoiding the whole messiness of raster anti-aliasing. But here we face additional problems: Adobe trace engine is not smart enough to recognize geometric shapes, intersecting lines, straight edges, orthogonal lines and mathematical curves - just try to trace a font and you will end up with a baggy monster. Additionally, it appears that in Photoshop center-line trace is not possible and you are limited to outlines.

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 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







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