Illustrator SDK :: CS5 - Change Textframe Into a Given Curve?
Jan 20, 2012
I have a textbox having some text and a shape like a curve given below. The text should be tranformed according to the shape pattern choosen.
Following figure shows what exaclty I want to do.
I have a curve, and textbox as shown in LHS of figure and I want output as RHS of figure.
View 4 Replies
ADVERTISEMENT
Jun 2, 2012
Yes, I have CS2 for Illustrator, I got it through college.Anyways, I was working on vectors and was drawing strokes and being able to see the guide line (I suppose that's what you call it) in the middle of the stroke path.BUT, I must've selected something wrong, because I can't see the line.I restarted PC even, rebooted AI, and still can't see it.I used the Pen to draw some lines, but I don't see the blue line that is shown when you drag and change the curve of the path.I opened up a new window/file and when I drew the path of the Pen tool, I was able to see it again? Was it just a problem w/the file itself?
View 1 Replies
View Related
Sep 3, 2013
I am working with scripting in Ai, fill gradient color in TextFrame. I search in this forum but the other topics fill color to path or line. For now, I can make a gradient color, but I don't know how to apply it to textframe.
View 6 Replies
View Related
Feb 23, 2012
I'm trying to read a text file into a textFrame. It reads in but is not including linefeeds so it's just one big long line of text. I'm using the following code to read the file. I attempted to insert a character after each readln() but that didn't work. I also tried creating a variable that the readln() was stuffed into before setting the textFrame.contents to the variable, but that didn't work either. I'm stumped.
while (! notesDoc.eof) {
noteTextRef.contents += notesDoc.readln();}
View 2 Replies
View Related
Apr 15, 2012
This is my very first attempt at a script:
* this script will prompt the user for a file name and location and then save the current file as a .pdf with secure save options*/
var curDoc = app.activeDocument;
var destName = prompt ("Enter a Filename Daniel", "", "Save With Security");
var destFolder = Folder.selectDialog('Select which folder to save to :');
saveFileToPDF(destFolder+ '/' + destName); // not sure if i need this here ?
[Code] .......
i can do the math of (artboard width)-(text width) / 2 is start point of text but how do i find out the text width and the artboard width?
View 11 Replies
View Related
Jan 24, 2011
How to divide all textFrames in one-character-per-textFrame?
Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s".
View 30 Replies
View Related
Dec 2, 2011
I want to change the font(let's say Times New Roman) of selected text in textframe when I click on menu-item of my plug-in. I went through the Adobe Text Engine documentation and tried some code for setting font but failed. I don't see any member function in IFont class to set desired font, so unable to move forward. see the code. I would like to know one more thing that how can we set a particular font for a textframe?
TextRangesRef rangesRef = NULL;
result = sAIDocument->GetTextSelection(&rangesRef);
aisdk::check_ai_error(result);
ITextRanges ranges(rangesRef);
[Code].....
View 3 Replies
View Related
Sep 11, 2012
I think I might be doing this wrong, I am trying to get contents of a specific textFrame within first group on layer called "page numbers"
It seems to work, but is a bit sketchy, the documentation indicates textFrame is all the text frames in a document, and that textFrameItem should be the specific one within collections of groups etc, maybe I am misunderstanding. this is what I am using:
var existingPageNumbers = app.activeDocument.layers.getByName('page numbers').groupItems[0].textFrames[0].contents;
is this correct approach...?
View 1 Replies
View Related
Oct 27, 2013
I'm trying to find the smallest textframe within a group and then matching that textframe font size to the minimum size allowed for printing. Everything else works, except I can't figure out how to resize the textframe while also resizing its parent, the group.
#target illustrator
docRef = app.activeDocument;
gpRef = docRef.groupItems[0];
var gpHeight = gpRef.height;
[Code]....
I'm not even sure if I'm going about this the right way. Hoping a fresh set of eyes can take a look
View 3 Replies
View Related
Jul 5, 2011
How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Any sample.
View 5 Replies
View Related
Feb 20, 2013
Is there a way to send a selected textFrame item to a layer using javascript?
I don't mind if it is send to current layer or some other way to accomplish the task.
(Using Adobe Illustrator CS4)
View 5 Replies
View Related
Apr 6, 2013
Can I create A B-Spline curve and a NURBS curve in the Adobe Illustrator?
If yes, how to do it?
Also, how to create a breakpoint, that will add a new control point, on a curve, in Adobe Illustrator?
View 5 Replies
View Related
Jul 18, 2013
How to change between Line and Curve. I can only get the line part to work.
View 2 Replies
View Related
Apr 3, 2014
Is it possible to use a textframe on a master page for means of common positioning of texts?
On pages based on this master page, I'd like to put individual text into this frame, or at least the exact location. Then, when I change the position of the textrame on the master page, the position of all textframes of the pages follow suit.
View 15 Replies
View Related
Jan 13, 2014
I'm building a product configuration which includes some helical curves. I want to find out how I can change the direction of a Helical curve feature in a 3D sketch.
Variables like pitch and diameter are parameters, but the direction isn't.
View 6 Replies
View Related
Dec 4, 2012
Is it possible to change the row height in a Line and Curve Table.
Civil 3D 2012
View 2 Replies
View Related
Oct 7, 2012
I am setting up a template for my company and have noticed that I can't change the line/curve/spiral LTscale:
I have chosen a layer with the CENTER linetype for my line/curve/spiral in the style editor. The Alignment appears correctly with the CENTER linetype. However I want to make the dashes a bit bigger, so I change the LTscale in the style editor to 4, but then nothing changes.
When I change the same setting for the "line_extensions" element to the same layer, these WILL update when changing the LTscale.
All my LTSCALE, PSLTSCALE, MSLTSCALE are set to 1.
All other lines, such as polylines and featurelines, as well as the line extension lines of the alignment update correctly. Its just the alignment line.curve/spiral elements that do not.......
Are these locked somewhere?
Intel Xeon E31230 - 3.20 GHz
4.00 GB RAM
Windows 7 Professional - 64-bit
Nvidia Quadro 600 - 1GB DDR3
View 9 Replies
View Related
Mar 10, 2013
correct process for animating a Material color change using AutoKey and the Curve Editor.
Right now, I am only able to crudely manipulate the color change by setting the material color change while the AutoKey is active.
The problem is that I am unable to control the speed/time at which the color change actually transpires in the scene.
So far, the only solution I have found, is to set the color change hundreds of frames after the point at which I want the color change to actually occur.
Normally, I would go into the curve editor and and manipulate the keys for the color change to slow or speed up the transition, and to control the exact timing.
However, even though I am able to locate the color change key(s) in the Curve Editor, I either do not know how to properly manipulate them, or I don't know what keys I actually want to manipulate.
I am accustomed to sliding keys left and right and using null keys to hold a key frame (in the this case the color prior to change, which is grey, and then the color after the change, which is fuchsia. however sliding keys around in the curve editor, when I have the "fuschia" key(s) selected (I misspelled the name, so in the file it is "fuschia" not "fuchsia"), does not seem to affect the actually timing of the color change.
FYI, the material that I am attempting to animate is the "fuschia" material in the Compact Material Editor.
View 9 Replies
View Related
Nov 4, 2013
how do i make a zig zag line follow a curve and have the 'teeth' be evenly spaced/sized?
View 4 Replies
View Related
Feb 6, 2013
I want unite two shapes and create a perfect smooth curve between then.
I know how to do that using Pen Tool and/or plugins (Xtream Path).
But I would like to know how to achieve this result in other ways, using only Illustrator.
View 1 Replies
View Related
Jan 22, 2014
So I have a friend who creates business cards and logo's with elipses and she's running into a problem. She has currently got the trial version of Illustrator CC and while she can create the elipses just fine, she can't seem to get the text to follow the curve.
She does have the right tool correct? Illustrator can do what she wants it to do correct? If so, is it an issue of usage ignorance or could it be that the trial simply doesn't have this feature?I recommended the Illustrator as the right tool but I want to make sure it will do what she's wanting to do.
View 1 Replies
View Related
Jul 30, 2013
I have a circle and a line that needs to overlap the circle perfectly. At the moment I have this:
I want to butt up the line perfectly to the edge.How do I do this?
View 3 Replies
View Related
Feb 19, 2013
I want to draw hyperbola curve whose equation is x^2/a^2 - y^2/b^2=1. May I use equation curve tool to make the above hyperbola.
I have also made a hyperbola curve of aforesaid equation through conventional method on mathematical ground in the past.
View 2 Replies
View Related
Dec 31, 2013
I have ran an analysis and SSA gave me Error 607 on the report. It says "Inlet A9 gutter capture curve is not a valid curve."
A couple things I did different from the video lectures...
I selected user define for the Tc to figure out Q. i computed those manually.
For the Inlets I have selected Maximum Capture Cutoff.
There are some inlets in this model I created that do not capture 100% of the flow so i created conveyance links to account for the bypass flow.Not sure why is not recognizing the Curve?
View 9 Replies
View Related
Mar 21, 2012
Why in LR4 is the Tone Curve default set to Custom with a contrast lowering curve? I would like the default to be linear, but I can't remember how I set that up in LR3.
View 5 Replies
View Related
Jan 1, 2014
I applied a 1pt stroke as you see in the screenshot and I gave it a default width profile. For some odd reason no matter what I do that stroke has sharp edges and isn't curved smoothly.
View 5 Replies
View Related
Jul 29, 2013
I am trying to write a script to draw geometric figures in Illustrator.I want to achieve this by writing an equation into the ESTK, for example x^2 + y^2 =100. This should generate a circle with a radius of 10 units.
View 1 Replies
View Related
Nov 8, 2012
I have a title consisting of a multitude of 3D letters with image overlays, in .ai and .eps formats. I want to bend it along a simple curve. I don't know where to begin, although I know how to create the curve using the Pen tool. After that my guess is that I need to use either the Mesh or Shape Builder tools. However, the Adobe Illustrator User Guide (consisting it would seem of online Help) clarifies nothing regarding the steps of the process. resource and in addition a good text that would step by step explain the process?
View 18 Replies
View Related
Nov 6, 2012
I am trying to create a circular graphic that is similar to a race track turn with banking. Is there a type of distortion filter or 3d that I can use that can create the feeling of a vanishing point that bends around a turn?
Below is sort of the feeling
View 3 Replies
View Related
May 4, 2013
I've taken over a web site and need to copy the compnay logo ( copy attached)
The basics are fairly straight forward but my problem is creating the curved line with the explosion effect.
View 6 Replies
View Related
Jun 18, 2013
Using illustrator CC, I want to curve the bottom line of my text upwards, but not have the top or sides move at all. Imagine of the text was something squishy, and I pushed it down onto the top of an arc. I've only been working with Adobe CC for about a week now. I've seen lots of examples of having the text follow a curved path, but they all curve the entire thing, whereas I only want the bottom of the text to curve.
View 3 Replies
View Related