Illustrator Scripting :: How To Set To True Or False For Scale Stroke

Sep 12, 2012

does the document have a property that can be set to true or false for scale stroke? I didn't see it in the documentation, maybe there is another way?

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Pipe With Ports On One Side - True /False Parameters

Aug 29, 2012

I am working on a pipe with a ports on one side. I created a True/False parameter to determine whether the ports are on one side or two and created a rule that does that, but now I am stuck with the CC:

Is there a way to publish a part to the content center with a true/false parameter? I made a rule to designate what true and false means but when I publish it to the content center I want to be able to choose whether it's true or false and it doesn't seem to be working. I also tried to publish without the T/F parameter and then after placing it just change the T/F parameter but I cannot change any parameter of a part that I placed from the content center.reciated.

View 3 Replies View Related

Illustrator Scripting :: Apply Current Fill Color To Stroke Then Adjust That Stroke Color's Build?

Apr 9, 2013

I'm trying to figure out a way to automate a simple, yet repetative process I do countless times a day. Ideally, I'd like to tie it to a keystroke to speed up my workflow.
 
I work on line art and colorways for footwear, so the way I'm coloring these shapes and strokes break apart the different materials and pieces of the shoe.
 
While coloring line art, I work with Pantone spot colors as fills for closed path objects. I then have to manually apply that same color to the stroke, set the stroke to 0.5px weight, convert that spot stroke color to CMYK, and add 15% to the K value.
 
I found some code in an older post for applying the actively selected object's fill color to the stroke, but I'm having but I'm having trouble with the next step of figuring out how to take that spot stroke color and convert it to a CMYK build that I can then add 15% black to. Is this something that's even possible? I've spent about an hour playing with the script and have only had luck matching the fill color or turning the stroke white.

View 13 Replies View Related

Illustrator Scripting :: Create Mirror Text And Stroke Text In AI Scripting

Mar 16, 2013

the Script of creating mirror text and stroke text in Adobe illustrator scripting.

View 4 Replies View Related

Illustrator Scripting :: Set Stroke Alignment From JavaScript

Jan 21, 2013

I'm trying to set the stroke style for a path item I've drawn through JavaScript, however I can't find a way to set the stroke alignment for my path item.

I've checked the Illustrator JavaScript reference but I can't seem to find that option in there.I would expect something like:
 
pathItem.strokeAlignment = StrokeAlignment.OUTSIDE; // This doesn't work, what is the correct way to set the stroke alignment from JavaScript?
 
If I change the option in the Actions Panel it comes up as 'Set Stroke/Alignment: Outside', so there must be an equivalent way of setting it from JavaScript. Is there a way of converting Actions to JavaScript so you can see which properties and attributes are being set on the object? What is the correct way to set the strok alignment from JavaScript?

View 5 Replies View Related

Illustrator Scripting :: Finding PathItems That Have No Fill And No Stroke

Jan 10, 2014

So here's what I wrote to try and find and delete all pathItems within a document that lack a fill and lack a stroke.
 
var doc = app.activeDocument;
for (i=0; doc.pathItems.length>i;i++) {
alert(doc.pathItems[i].name + " " + doc.pathItems[i].fillColor.name)

[Code]....
 
But alas, neither seems to do the trick, the first one makes sense why it wouldnt work since it says that the color is "undefined" but it isnt a string called "undefined." So I'm not sure how to go about this at all now.

View 3 Replies View Related

Illustrator Scripting :: Select Same Fill And Stroke Color

Aug 8, 2013

Select same fill color with java script and stroke color tool.

View 1 Replies View Related

Illustrator Scripting :: How To Find Out Textframe Contains Stroke Color (or) Fillcolor

Jul 5, 2011

How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Any sample.

View 5 Replies View Related

Illustrator Scripting :: Change Stroke Color Of Object In A Script?

Nov 26, 2012

I need the finished script to create a rectangle with no fill and a 20% gray stroke to outline each artboard. I dug this up off these boards, which works perfectly except the rectangles created have no fill or stroke. certainly save me a lot of time drawing rectangles on a daily basis.
 
#target illustrator
var docRef = app.activeDocument;
var artboardRef = docRef.artboards;  
for(i=0;i<artboardRef.length;i++){     
var top=artboardRef[i].artboardRect[1] ;     
var left=artboardRef[i].artboardRect[0];     
var width=artboardRef[i].artboardRect[2]-artboardRef[i].artboardRect[0];      
var height=artboardRef[i].artboardRect[1]-artboardRef[i].artboardRect[3];      
var rect = docRef.pathItems.rectangle (top, left, width, height);     
rect.fillColor = rect.strokeColor = new NoColor();    
}

View 3 Replies View Related

Illustrator :: Scale Stroke And Effects

Mar 30, 2013

When I scale my artwork I have scale strokes and effects checked but the effects dont appear to be scaling. They look as though they arent even there at all after the scale.  Am i missing something?

View 35 Replies View Related

Illustrator :: How To Scale A Brush Stroke

Jun 10, 2012

I'd like to scale a brush stroke. How do I do this?

Left is original stroke Right is resized by pressing shift then pulling box to upper right.
 
I found on the forum to tick preferences - scale strokes & effects but still not working?

View 10 Replies View Related

Illustrator Scripting :: Altering Stroke Weights Of Path With Multiple Strokes?

Mar 24, 2013

I have created a path with multiple strokes, which differ in weight and color. I can save that as a profile but it's really tedious if I want to alter the different colors and stroke weights.
 
I can't seem to do record an action which will automatically alter those parameters (f.ex. raise each strokeweight by 10pt.). All I get is just an action that will recreate the altered state during recording (f.ex. stroke weights  20, 10 >--Action-->  15, 5). I cannot start the action and raise or lower my stroke weights at once based on the current parameters.

View 1 Replies View Related

Illustrator Scripting :: How To Select Similar Objects (by Stroke Color) Programatically

Aug 10, 2012

Is there a way to select similar objects (by stroke color) programatically?

View 3 Replies View Related

Illustrator Scripting :: Applying Stroke Miter Limit With Apple Script

Feb 24, 2013

I have a bit of a problem with apple script, I'm creating a Text item and setting the stroke to 0.4pt then i want the stroke miter limit to be set to 2 but it wont work i get :-
 
Adobe Illustrator got an error: Can’t set properties of text frame 1 of layer 1 of document 1 to {stroke miter limit:2}. (error -10006) but im am able to apply a stroke miter limit of 2 on a path item, is there a way of converting the text frame to a path item then applying the stroke miter limit to it.
 
on TicketFront_(posX, posY)
     tell application "Adobe Illustrator"
          activate
          set ticketItem to make new text frame in theDoc with properties {contents:{"Some Text"}, position:{(35.7 + posX) * 2.834645, (173.5 - posY) * 2.834645}}
          set properties of the text of ticketItem to {text font:text font "Raleway-Thin", size:5.54, justification:center, fill color:{class:spot color info, tint:100.0, spot:spot "PANTONE 4535 U" of document 1}, stroke color:{class:spot color info, tint:100.0, spot:spot "PANTONE 4535 U" of document 1}, horizontal scale:126.46, stroke weight:0.4}
[code]...

ive also tryed putting convert to paths ticketItem in the script which converts the text to paths but the stroke miter limit still dont work.

View 17 Replies View Related

Illustrator Scripting :: How To Add Percentage Scale To Reduce Printout

Aug 12, 2013

When I printout a file at a reduced size, is there a way to add the percentage that it got reduced by on the printout?

View 1 Replies View Related

Illustrator Scripting :: Scale Objects Proportionately To A Specific Height

Nov 5, 2012

I have multiple icons placed in a document, from several different sources (all are vector objects) -- see the included image. They vary in size and what I would like to do is find a less onerous method of resizing all the heights to a specific size, while scaling the width proportionately. I have found several scripts that come close to a solution (see links below), but none that allow me to input a height (or width) in inches and have all the objects resize to that height proportionately.
 
Change Width to the Width of the narrowest object --> Script01
Change Height to the Height of the shortest object -->  Script02
Change Multiple Attributes (JohnWundes) --> Script03
 
icon image (couldn't place via Adobe Forum) --> click

View 2 Replies View Related

Illustrator Scripting :: Batch Convert Vector EPS To PNG Images With Scale

Nov 29, 2011

I'm looking for a script/program that if you run it, all the .eps files in a folder will batch convert to a png-24 with 250% scale.

View 20 Replies View Related

Illustrator Scripting :: Remove Horizontal Scale On Circular Characters Only?

Sep 18, 2013

Lino's CrTronic used to have a command to set horizontal scaling to 100% for these 3 characters, and leave the rest alone.

® circle R
© circle C
• bullet
 
Because those 3 characters are circles we often want them proportional even if the rest of the copy is horizontally scaled.

View 18 Replies View Related

Illustrator :: Maintaining Stroke Weight When Changing Path To Brush Stroke?

Sep 12, 2013

Is there a way or an option I am missing to convert my regular paths to a path stroked with a brush profile,while maintining the proper stroke width?
 
For instance, I have a regular line with a stroke of 5 and then add a brush profile, which then converts the original stroke to whatever the brush was made at.

View 1 Replies View Related

Illustrator :: How To Stroke Behind Other Stroke But In Front Of Fill

Jan 4, 2013

I have a shape with a black stroke and green fill.  I have a white line segment over it.  How do I get it so that the end of the line segment doesn't show over the black stroke of the object?  If I try to put the line segment behind the object, then the object fill hides it completely.
 
I'm new to illustrator and I've tried to search for an answer but I don't know the best way to accomplish what I want to do.  Seems like some combination of transparency or knockout groups and I've read a bit about this and can't figure out what I need to do.

View 3 Replies View Related

Illustrator :: How To Get Outline Stroke Without Initial Stroke In CC

Mar 24, 2014

I need an outline on a stroke that i drew but when i apply object>path>outline stroke i keep getting my initial stroke applied as well. I only need the outline, not the initial stroke. I use Illustrator CC.

View 4 Replies View Related

Illustrator Scripting :: How To Automate Importing Variable And Datasets Into Graphs Via Scripting

Dec 18, 2012

I'm try to automate the importing of the Varaible and datasets into my graphs via Scripting, but the ImportVaraibles() function doesn't seem to work.  Here is my Script, mostly copied from the example script provided with Illustrator (CS5).  And, this works manually, using the file names in the script, via Load Variable Library
 
    Set appRef = CreateObject(strIllistratorVersion)
   
       'Open the file and import the datasets
        Set docRef = appRef.Open(strTemplate & "200-500.ai")
        'docRef.Datasets.RemoveAll
        docRef.Variables("Yearbook").Delete
 
Here is the problem, after I delete the previous library, then this next line, right from the example, does nothing
The script then exits with 'No Datasets in this document'
       
docRef.ImportVariables (strXMLFolder & "Lumber_200-500.xml")
'appRef.DoJavaScript "alert('Template:" & strTemplate & strRange & ".ai  |  XML file:" & strXMLFolder & ""  & objFile.Name & "^')"
        If (appRef.Documents.Count > 0) Then
            Set docRef = appRef.Documents(1)

 [Code]....
 
If I remove that delete line, the script runs, but just uses whatever Variables I had last loaded, not the XML file.
 
It's simply not loading.  What do I need to do to get it to load?

View 8 Replies View Related

Photoshop :: Scripting - Get Stroke Shape And Pressure Of (Brush Tool) Drawing Action?

Sep 29, 2013

What I would like to do is to get the stroke shape, pressure and maybe velocity after a `Brush Tool' drawing action is triggered by the user, i.e. after a simple drawing operation.

I have been using the ScriptListener plugin, but it does not record this type of operation: changing the brush parameters (e.g. size and opacity), yes, but the actual drawing action, no.

View 4 Replies View Related

Illustrator Scripting :: Access Graph Data Through Scripting DOM?

May 6, 2012

Can you access graph data through the scripting DOM?

View 3 Replies View Related

CorelDRAW X3 :: Create Custom Stroke That Doesn't Scale To Length Of Line?

Nov 9, 2011

Is it possible to create a custom stroke that doesn't scale to the length of the line you assign it to? I am trying to create a stroke that looks like a chain but when I create a custom brush, I have to almost create the brush pattern the same length as the stoke it gets applied to in order to avoid the chain links bunching up or being grossly stretched out along the assigned path.

Is there a setting or some other function that can accomplish this? Is there an easy way to assign a shape to along a path other than blend?

In the end I want to be able to assign a premade pattern to a line without that pattern being distorted or scaled along the path it is assigned to.

View 7 Replies View Related

Illustrator :: Import True Type Fonts Into CC Without Tykekit?

Mar 19, 2014

Can I import True Type fonts into Illustrator CC without Tykekit?

View 6 Replies View Related

Illustrator :: Add A Stroke To A Stroke?

Aug 2, 2013

I have an image that has a black stroke around it. I'm wanting to make that transparent and add a stroke to the outside of the black stroke, so it will basically be an invisible space there. Is that possible or is there an easier way?

View 1 Replies View Related

AutoCAD 2010 :: DWG TO PDF / False Lines?

Oct 12, 2012

I have created a drawing with hatch that I would like to print in color not in grayscale. I have used dwg to PDF for many other plots and have not had an issue, but they were all in grayscale. With this dwg when I plot to PDF, the PDF writes lines into the drawing that do not exist in autoCAD. If I plot from AutoCAD the lines do not appear and I did not draw the lines in the dwg file. However, when I plot from the PDF it plots with additional lines all over the drawing. Is this because I am plotting in color and some of my layers have the transparency set for around 45?

View 9 Replies View Related

AutoCAD Map 3D :: False Northing And Easting In Coordinate

Mar 25, 2013

I'd like to know what the point of the false northing and easting is as it's defined in some coordinate systems.  My understanding was this was an issue many years ago so that any coordinate values that were extracted for use in a db would be positive values.  However, I'm not sure that is an issue any longer for most applications so is there any point to using a coordinate system with those values? 

View 3 Replies View Related

Photoshop :: CS6 / Win 7 32bit - Sophos Antivirus False Positive

Dec 31, 2012

Photoshop CS6. Win 7  32 bit. Sophos Anti virus is reporting that WIASupport.8LI contains malware Troj/Zbot-DHN and quarantines it. This has just started to happen today.

View 4 Replies View Related

AutoCAD Inventor :: Exporting PDF - HasSaveCopyAsOptions Returns False

Nov 21, 2012

I have a VB.NET routine that exports a pdf using the TranslatorAddIn interface.  I copied the example from the api help.

The pdf is created, but only the first sheet of the drawing is exported.  I uncommented the following line in the example code, and still no change:

oOptions.Value("Sheet_Range") = kPrintAllSheets

I added a message box, to make sure I was reaching that line, and I found that I was not in fact reaching that line.  Why is this?  In some posts here related to dwf exporting also using the TranslatorAddIn, the first argument of HasSaveCopyAsOptions was oDataMedium instead of oDocument, so I tried that, too, but still no change.

Here is the code of the export to PDF routine from the api example:

Public Sub PublishPDF() ' Get the PDF translator Add-In. Dim PDFAddIn As TranslatorAddIn Set PDFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}") 'Set a reference to the active document (the document to be published). Dim oDocument As Document
[Code] .......

View 1 Replies View Related







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