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
Hi I knw the settings to be made when a customer is a vendor. What will be the outcome if we run app of that vendor ? All the items will be shown or only the net figure will be shown? Can this be changed also? Please reply soonHi while running the AP [More]
Hi All Account balance difference The Inventory WIP(GL Code xxxxx) value as per Trial balance and as per statement of a/c (fbl3n) is not tallying. The same gl shows different values in fbl3n,fs10n & trial balance statement fs10n balance and trial bal [More]
Hi I am using ARTMAS04 idoc from sender side in which i have segments and following fields     E1BPE1MATHEAD(Segment max occurence is 1)            MATERIAL     E1BPE1MARMRT(Segment max occurence is 999999)            MATERIAL            EAN_UPC Even [More]
Hi everyone, I`m on iOS since version 1.1.3. Got my iPhone 4S yesterday and know these stories every year, of yellow tinted screens. Never had any issue with it. Until today. Compared to my iPhone 4 (got it right the first day it was released in swit [More]
I've got an uncompressed 8-bit short film that needs burning. Everything goes smoothly, except there is significant quality loss when playing back the DVD. So I've done a build too, and played that back on 'DVD Player'...same problem. I'ts a pixillat [More]
I have this collection account still on my credit after being paid in full. I was told they would remove it and I have wrote them yet again another GW letter. My question is the DOFD is 12/2009. Should this really still be reporting on my credit? Wha [More]
Hi Please provide me with the best pracitices for designing Item Matrix in retail industry such as garment or shoe etc. Regards [Abdul Muneem|http://www.brio.co.in]Hi, I am not too sure what you are looking. Looks like it is related to AFS. AFS is re [More]
I have an ibook G4 256 memory. I opened iphoto. It asked to update the library. I said yes. The library began loading photos (there are no photos in the application at this time). It continues in loading mode non stop. I quit Iphoto. Reopened the app [More]
Hi All, We have some issue on Query performance.I want to know that Cubes on which this Query run has some partitioned or not how can i know this ? <removed by moderator> Thanks, Deepak Edited by: Siegfried Szameitat on Jun 22, 2011 7:43 AMFirst of [More]
Hi, What is a common way for users to execute planning applications? I've read about planning folders but still dont understand the user interface. (via BEx?etc. Roles?) We're not using any web functionality. Please suggest a user-friendly way to exe [More]