Illustrator SDK :: Listbox With Customized Items?

Jun 25, 2012

I need to create a ListBox with custom items.

Each item should consist of two elements: from static text on the left and edit text item on the right.

I'm using ADM.

View 6 Replies


ADVERTISEMENT

Illustrator :: Can AI CS5 SVG Export Be Customized?

May 22, 2012

I'm using AI to make graphics for a medical imaging system. Everything's dandy except the .svg files it exports always have this as the XML declaration, the first line:
 
<?xml version="1.0" encoding="utf-8"?>
 
What I want is an explicit standalone pseudo-attribute, like this:
 
<?xml version="1.0" encoding="utf-8" standalone="no"?>
 
The XML spec says standalone defaults to "no" and isn't mandatory, but the parser I'm using (an Object Pascal adaptation of the Anti-Grain Graphics library, which is kinda deep and which I don't yet understand well enough to modify) crashes unless it's explicitly stated. What the value is doesn't seem to matter but it's got to be there.
 
For the time being I preface the parsing with a step that checks the first line, adds the standalone if it's not there, and saves the altered file. It works but it's a seriously ugly kludge. For the production version I can process the files once and leave the kludge out. Still, at least during development it would be nice to be able to tell AI to include it in the first place.

View 4 Replies View Related

Illustrator :: Can Font Preview Be Customized

Jul 6, 2013

I want to change font preview from reading "Sample" to something custom... can this be done?

View 6 Replies View Related

AutoCAD .NET :: Copying Selections From One Listbox To Another

Sep 26, 2011

I have two listbox controls on my form (lstAvailableLayers and lstLayersToUse).  The lstAvailableLayers listbox gets populated by the following:
 
Public Sub MaindialogTitleText_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim myDWG As Autodesk.AutoCAD.ApplicationServices.Document Dim myDB As Autodesk.AutoCAD.DatabaseServices.Database Dim myTransMan As Autodesk.AutoCAD.DatabaseServices.TransactionManager Dim myTrans As
[code]......

There is a button that is supposed to copy the selected items from the lstAvailableLayers listbox to the lstLayersToUse listbox:

Private Sub btnMoveLayers_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMoveLayers.Click If lstAvailableLayers.SelectedIndex < 0 Then MsgBox("You must select at least one layer", MsgBoxStyle.Exclamation, "Error") Else Dim i As Integer For i = 0 To lstAvailableLayers.SelectedItems.Count - 1 lstLayersToUse.Items.Add(lstAvailableLayers.SelectedItem) Next End If End Sub 

I select 2 layers from the list and hit the button, and the first selected item gets copied twice to the second list. I've looked all over the place and I keep seeing similar code to this that's supposed to work.

View 3 Replies View Related

AutoCAD VB :: Populate A Listbox With Information From Entities

Nov 14, 2012

What i want to do is popluate a Listbox with with the area of previously selected Objects.This is what i have at the moment:

i = 0ListBox1.ColumnCount = 2For Each ssetOBJ In sset objarea = ssetOBJ.Area i = i + 1 With ListBox1 .AddItem .List(.ListCount - i, 0) = "Fläche" .List(.ListCount - i, 1) = objarea End With Next.

 But the code only writes the area of the last Object in the first Row of the Listbox.I think in the FOR EACH Expression the variable "i" pass always "1" for the Row Number.

View 2 Replies View Related

AutoCAD Inventor :: Insert IPart From Listbox

Jan 31, 2012

I have listbox that shows ipartname of one ipartfactory it would like and me that when selecting one of them it could send to the assembly ipart selected hear show code.

Dim InvApp As Inventor.ApplicationSet InvApp = GetObject(, "Inventor.Application") Dim IpartSeleccion As ipartMemberSet IpartSeleccion = listbox1.Value Dim oDoc As AssemblyDocumentSet oDoc = InvApp.ActiveDocument Dim oOccs As ComponentOccurrencesSet oOccs = oDoc.ComponentDefinition.Occurrences

[Code] ........

View 3 Replies View Related

AutoCAD VB :: Populate ListBox With Action Recorders

Feb 28, 2013

Is there a way to populate a ListBox with all of my Action Recorders?

View 1 Replies View Related

AutoCAD .NET :: Listbox And Reading Multiple Selections

Jun 2, 2011

I have a list box with multi select (simple) enabled. How can I "see" the text of the values the users selects (if there is more than 1)..

vb.net if you can.

View 6 Replies View Related

AutoCAD .NET :: Capture Drop Even On Drawing Area From Listbox?

May 23, 2012

I've made a simple list box with some text entries. I can drag from any node to Acad's Drawing area and drop it. And without writing any code to capture Drop event, same text is written there in Top Left corner of Drawing area.

I want to Catpure this Drop even of Acad Drawing area. I will then be able to use Jig classes to add my own entities.

I tried Application.DoDragDrop() method and invoke DragTarget.OnDrop() but confused very much

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Link Text Items Between Pages And Items In Drawing?

Apr 17, 2013

I am hoping to link text items between pages and items in the drawing such as elevations?

So, ideally, I would have a front page to my drawing set, and this would have a 'Contents' type table on it, with the title name of each drawing in one column, then the drawing number in the next column. This is the tricky bit, someone must know: If i was to change the name / number of any item in this table, could it change also (linked to) the following items:

Drawing title  (as a text idem on the layout sheet that that drawing relates to) 

Drawing number (as a text idem on the layout sheet that that drawing relates to) 

Elevation call-out (on the plan view)

And possibly:

Excel reference cell

Drawing layout tab title (this might be pushing it!!)

Perhaps this could be done by linking to an external Excel spreadsheet with these titles modified in there? I'm not sure. This would be ideal as typing into excel is a lot easier than the triple click text modify method required currently.

I waste a lot of time renaming and updating sheet names / titles / numbers. Are there standard templates for drawing sets that may have this built in available anywhere that I could try?

View 7 Replies View Related

Photoshop :: You Have No Items To Display / 24 items Hidden Error Message

May 25, 2012

How to I "unhide" my photo files in My Pictures?

View 5 Replies View Related

AutoCAD Inventor :: Search For Suppressed Constraints And List Them In A Listbox?

Jan 16, 2013

how could I search for suppressed constraints and list them in a Listbox.

View 2 Replies View Related

AutoCAD Inventor :: Create Listbox In ILogic That Allows For Multiple Selections?

Oct 3, 2013

How do I create a listbox in iLogic that allows for multiple selections?

View 3 Replies View Related

Illustrator :: Some Items Missing From Export?

Dec 29, 2012

I have a CMYK AI file with several objects. When I export to 1920x1080 JPG, PNG or PSD...some outlined text is not showing up but it's drop shadow is. Some objects that have transparency gradients are also missing. It is the same if I export to RGB or CMYK. I have to translate the AI first to RGB and then it works but it has never done this to me before. Il CS5.1, Mac OSX 10.7.5

View 6 Replies View Related

Illustrator :: Can't Undo Deleted Items

Feb 12, 2014

After recently updating to CS6 I have noticed that if I delete an object, say registration marks, I can't undo that action. Undo will work in every other situtation, color change, move, etc. but not if the item was deleted. This is a major problem as I have had to completely close designs and start fresh because an important item was accidentally deleted and I couldn't get it back.

View 4 Replies View Related

Illustrator :: How To Rearrange Items On Dock

Dec 13, 2013

I'm just getting started with illustrator (coming from Coreldraw) and I'm working on getting my workspace set up the way I want.  On my dock when I select a path I have the object type, opacity, alignment and dimensions displayed.  I got rid of everything else using the drop down on the far right. how to rearrange these to go object type, dimensions, alignment, opacity.

View 4 Replies View Related

Illustrator :: Can't Move Items Between Layers In CS6

Jun 26, 2012

I cant move items between layers in CS6.

The items are not locked
The items are not in groups
The layers are all unlocked
 
I select the item I want to move then try and move the item to the layer above (or below) with the "dot" on the right side of the layers pallete and nothing happens!
 
What am I doing wrong?

View 15 Replies View Related

Illustrator :: Resizing Multiple Items Of Different Sizes

Jan 16, 2013

Is there a way to resize multiple items of different sizes all at once? Say I have five boxes measuring 1", 2", 3", 4" and 5" but i want them all to measure 6", is there a way to resize them all at once?
 
Mac OS X 10.7.5
Illustrator 16.0.0

View 8 Replies View Related

Illustrator :: Abbreviate Text Menu Items

Jan 10, 2013

I'm working in Ai but this question applies to other Adobe programs.
 
Is there some way to abrreviate the text menu items ("Stroke", "Opacity", "Character", "Paragraph", "Transform") to "S", "O", "C", "P", and "T", this would save space (working with two windows juxtaposed) and eliminates need to access the drop down menu on the right if working window is smaller.
 
Perhaps this is too deep for the Preferences to reach... (but maybe it shouldn't be)

View 1 Replies View Related

Illustrator :: CS6 Deleting Random File Items

Jun 28, 2013

First of all, some details as to what we are working on:
 
Mac OSX 10.6.8
Illustrator CS6
Accessing files on a shared network drive
 
I have been working on a file for a number of months now with no problems at all. Right at the point of it being signed off today I opened it to prep for printing (outline fonts, check colours etc.). When I opened it I noticed a number of the graphics (embedded graphics, not linked files) and areas of text were missing. Completely missing. No text boxes, no sign of any images having been there, just GONE. I closed the file without saving and opened it in CS5 - neither the graphics or the text appeared in CS5 either.
 
Nobody except myself and the other guy has access to these files (nor the softare to open them). The file has not been opened since June 6th when I last made a change (and everything was fine!).
 
This is not the only file we have discovered this problem with - there was another occurence of this with a completely different file yesterday which we put down to a small glitch, but this is now getting worrying. Yesterday it was graph items, so we thought it was something to do with those. Today it is bog standard graphics and text (no font issues either).
 
Now, I have also noticed something else with this particular file - it is acting more like an imported PDF than an original Illy file in that items are linked together (un-linked by right-clicking and selecting 'release clipping mask'). I don't know if this could be related? It was definitely created from scratch in Illustrator, and none of the items were linked in such way, or imported from another file.

View 7 Replies View Related

Illustrator SDK :: Obtaining AIArtHandle For All Selected Items In Doc

Nov 19, 2011

Exporting to PNG. reference:[URL] We have multiple layers (some off and locked). I'd like to pass all the selected items to the Image Optimization Action as a group instead of optimizing each one.  I am using AIMatchingArt Suite to get the selected items, but it points to an array of AIArtHandles..

View 14 Replies View Related

Illustrator Scripting :: How To Find A Way To Loop Through All Items

Apr 6, 2012

I'm trying to find a way to loop thru all items in an Illustrator document and get their stroke and fill color.  Sometimes items are spots, sometimes documents are set to RGB or CMYK, etc, so swatches can be a mixture of things.  Is there an easy way to get the swatch name for each item?
 
For example, I can check if an item is a spot, and get it's color like so:
 
var c = app.activeDocument.pageItems[0];
if (c.strokeColor.typename === 'SpotColor') {
    var s = c.strokeColor.spot.name;
}
 
But if I try to get the name from an item colored 'Black' (which is set to Process Color, CMYK), then I'll need to do something else like:
 
var c = app.activeDocument.pageItems[0];
if (c.strokeColor.typename === 'CMYKColor') {
    var s = c.strokeColor.name;  // This returns undefined - not sure what I'm doing!!!
}
 
Is there an easier way to achieve this, other than getting the typename of each item, and then trying to figure out it's color name?  I was hoping something like this would work:
 
var c = app.activeDocument.pageItems[0].strokeColor.name;

View 3 Replies View Related

Illustrator Scripting :: JS / Accessing Menu Items In CS6?

Jul 16, 2012

I just got CS6, and I'm wondering how I access menu items using Javascript?Also, I'm looking at the CS6 JS reference, and it doesn't say whether app.activeDocument.selection is Read-Only. I would need this for my purposes in accessing the menu.The item I wanna access is Select > Same > Stroke Color. Seems simple enough.

View 5 Replies View Related

Illustrator Scripting :: Sorting Out Path Items?

Apr 14, 2012

I have a collection of circles and rectangles in my document. Is there any way to sort out circles from rectagles using JavaScript? Say i want to make my circles red and the rectangles blue.

View 8 Replies View Related

Illustrator Scripting :: How To Lock Items In A Document

Nov 19, 2013

how to lock items in a document?, I saw lots of tips on how to know if the object is locked, but I did not find tips like locking them.

View 2 Replies View Related

Illustrator :: CS6 - View Clipboard And Edit And / Or Delete Items?

Sep 30, 2013

I have Illusrator CS6, and it ask when I close, if I want to save to clipboard. Now the program runs slow. Is there any way to view clipboard and edit and/or delete items that are on it?

View 1 Replies View Related

Illustrator Scripting :: How To Add Methods To The Symbol Items Class

May 31, 2012

is there a way to extend existing classes? I am trying to add methods to the symbolItems class, but it doesn't seem to work. says it is not defined:
 
symbolItems.prototype.isIn = function(parentItem, runThis) {
//do something
}

View 5 Replies View Related

Illustrator :: All Items Are Shifting To Top Of Sheet Of Paper During Printout

Feb 3, 2012

I am using Adobe Illustrator CS3.  When I print to my new LaserJet, documents that are not a full page in size are having the items shifted on the hard copy print out.  Specifically, while the font and graphics are not changing in size, all items are shifting to the top of the sheet of paper during printout (i.e. the hard copy does not match what is shown on my screen.) 
 
No Microsoft files are printing improperly, only Acrobat and Illustrator are displaying this issue.

View 5 Replies View Related

Illustrator Scripting :: Group Items Are Returning As Layers

Apr 5, 2012

I have a layer that contains two clipping groups (groups with a clip mask and other art).  When I call layer.groupItems it returns an empty array.  When I call layer.layers it returns the two clipping groups.  I need to know if these layers are clipping groups, but if they are coming back as layers how can I figure that out?

View 8 Replies View Related

Illustrator :: CS6 - Deleting Unwanted Items Outside Clipping Path

Apr 30, 2013

I'm creating a logo that employs a stippled texture (a half-tone) in various sections of objects comprising the logo. I've placed the stipple where I want it, created a clipping path to capture the area. Now I have all these other points that I don't need that I want to delete.
 
Is there anyway short of releasing the clipping path, manually delete unwanted sections of the stipple and then re-apply the clipping path again? It would be like 'Applying Mask' in photoshop.

View 2 Replies View Related

Illustrator Scripting :: CS4 - Remove All Hidden Page Items?

Jan 26, 2012

I'm trying to remove all hidden page items regardless of how many sublayers they are burried in. I wrote a snippet here that seems to only partly work. It removes all hidden page items unless two hidden items exist right after each other in the stacking order.
 
for (i=0; i<doc.pageItems.length; i++){
if (doc.pageItems[i].hidden == true){
doc.pageItems[i].remove();
}
}

View 3 Replies View Related







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