Sitemap

Amicuk Programming Answers

How to replace a line segment?

-0001-11-30   Views:0

Advertisement

Here's what I want to do: Take the selected line segment, and replace it with a series of line segments, scaled to the length of the line. I'm not quite sure how to go about this.  I don't see any line object relating to a path item.  All I see are a

Here's what I want to do:
Take the selected line segment, and replace it with a series of line segments, scaled to the length of the line.
I'm not quite sure how to go about this.  I don't see any line object relating to a path item.  All I see are anchors.  I know I can access the two anchors of the line segment that's selected, but to begin with, how to I delete the line connecting the anchors?

The replay answer
Advertisement
Here's an image to help illustrate.  The object on the left has a line segment selected.  The script runs and removes the segment, then replaces it with the door path, scaled up to the correct width to fit:

Go to See the other 4 answers

How to replace a line segment?

Category:DefaultRelease time:-0001-11-30Views:130

Here's what I want to do: Take the selected line segment, and replace it with a series of line segments, scaled to the length of the line. I'm not quite sure how to go about this.  I don't see any line object relating to a path item.  All I see are a[More]

Combining Line Segments into a single shape

Category:DefaultRelease time:2015-10-11Views:130

I drew one half of a shape by drawing multiple line segments using the arc tool. Think of the shape as sort of a C. Once I had the shape the way I wanted it, I copied and reflected it to give me the other half, so now it looks sort of like an O. Howe[More]

How to replace a line ina text file using java?

Category:DefaultRelease time:2015-10-11Views:130

Hi ALL, Does anybody know how to replace a line in a text file uisng java.use this thing: http://doesthatevencompile.com/current-projects/code-sniplets/ASCIIFile.htm open the file, read its contents, replace the text you need in the contents, set the[More]

Find and replace a line in a text  file

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I wanted to read a text file , find a line and replace that line with out affecting any other lines and with out creating a new file. If any one of you know any API to do this work ,please throw some lightThis seems to be a question on optima[More]

Joining Line Segments

Category:DefaultRelease time:2015-10-11Views:130

The line looks like it's connected, but it's not. When I apply the brush effect it becomes disjointed. I want it to be one smooth stroke. Is there any way to join the line segments without having to redraw the stroke? I ask this because the line was[More]

Joining Line Segments in CS6

Category:DefaultRelease time:2015-10-11Views:130

I am drawing a simple diamond shape made with one rectanlge shape and multiple line segments.  As I drew the design, I made sure to connect all the segments at the anchors.  When I select all of the segments and try to join the paths, the end points[More]

How to replace a line in file Java

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to replace a line in file sequencial. I read file, but i don't know how to replace one line.. Thanks...I supose this.. I usea a FileReader and BufferedReader to read a file. I read a line, I know the number of the line, but how to say to m[More]

How to replace a line in a csv file

Category:DefaultRelease time:2015-10-11Views:130

Hi everyone, What i need to do is to write into a csv file, line by line. When I'm in the line #1000, I need to go back to line #1 and replace the old line by a new line. I only found a way to do this but I don't think it's a good way. I read the act[More]

Line Segment Tool Options won't allow negative angle

Category:DefaultRelease time:-0001-11-30Views:130

When you select an object and hit Return to bring up the Move dialog, Illustrator allows you to enter a negative rotation amount in the Angle field (e.g., -30°). This is great. However, when you select the Line Segment tool and click in the drawing a[More]

3d graph line segment

Category:DefaultRelease time:-0001-11-30Views:130

Hi: I'm trying to find a way to draw a series of x,y,z points to a 3d graph with each point linked to the last with a line segment.  I have been successfull in plotting a series of points to the 3d graph indicator in LabView but I cannot figure out h[More]

Line Intersection retuns point instead line segment

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I want to intersect two lines with the function sdo_intersection (Oracle8i). However, as result I get always a point instead of a line segment. Any suggestions ?? Thanks Peter Following the Script: /* Table Theme2 */ CREATE TABLE THEME2(ID   [More]

Hot
I was trying to upgrade (RAM and system) my children's iMac. I went from 9.1 to 10.2 (own all software). 256 chip went in first and only with 9.1. Ran fine. Next step was to put original CD (not tray) in iMac and install system upgrade. Ran fine duri [More]
I'm relatively new to Time Machine and just noticed something yesterday that I thought was a bit odd. I'm not sure if this is how Time Machine is suppose to work or if I screwed something up. Last month I bought a Drobo for use as a Time Machine stor [More]
I need to update my firefox web browser, however when the update has down loaded to my notebook it refuses to open and install The bios is asus 900ocpi ver 1009 and it is using ECFirmwareThe version of Xandros Linux ''(from early 2007)'' that Asus wa [More]
hi, i got a new ipod nano 2nd generation for christmas and i loaded itunes on my laptop, but my mum accidently deleted it and so i downloaded it again. but now it wont open because it says: "itunes has encountered a problem and needs to close. we are [More]
For some reason my earlier post failed. It threw up some weird error. I am building a BPEL which is composed of synchronous web services. The simplest of these business processes has a single synchronous web service call. The web service returns an a [More]
Hi Guru's, I've been trying to select NULL values of a field in transformation file but unfortunately system always gets both null and filled values of the field ALTHOUGH i had maintained the Selection Option. Data management package is: Load Transac [More]
Hey guys, I am trying to configure seven counters on a PCI6602 to simulate a quadrature encoder signal(Channels A,A',B,B',Z,Z') and a regular encoder signal(Channel X). The quad encoder signal works fine and was done by setting up Pulse Train Generat [More]
Hello I downloaded Quicktime Pro 7 to be able to record my screen. The problem: there is no function "New Screen Recording" appearing! There are only these functions: New Player New Movie Recording New Audio Recording New Screen Recording ist mi [More]
My current wireless speeds are download 450kbps, upload 250kpbs. I am expecting speeds far greater than this.  Should be getting download speeds up to 5mb.  Is this down to the home hub 1 or other issues?? Any help greatly appreciatedcan you post the [More]
Hi everyone, i need a little help about TLN. I'm developed webdynpro application and i have integrated it with ess. The problem is arise when I click <b>Back</b> link in top level navigation (TLN) from my iview (custom application). I need to [More]