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..
How can I get width that multiple selected items? (Not grouped.)
//---------- source code ---------- var mm = 2.83464566929134 //unit conversion. (point->milimeter) var W = docRef.selection[0].width/mm; alert(W); //---------- source code ----------
I'm trying to create a script in CS5 mac os10.6.8 that will change the fill color of selected pathItems. I need a simple script that will change a selected pathItem to cmyk values 2,3,15,0. I will then select this script and implement the action in a batch of 600 files.
I wish this process could be recorded as an action but when I record the action "add new swatch" I have to manually input the cmyk values, which will take forever for a batch of over 600 files.
I want to know how I can resize the width/ length of a art?
I went through APIs and got some useful suite like AITransformArtSuite. But I am unable to use it's method TransformArt. since I don't know how to create appropriate AIRealMatrix.
Upon dragging a clip from the library and onto the timeline, is there anyway of knowing which clips have been used already from the library view? In other words, I'd love to see some type of indicator or "check" mark that would allow me to know exactly which clips in the library view are already part of my timeline. Sometimes, there are clips that are sitting in the library that have not been included in my final production.
I had my ACAD window up and another window up at the same time. I thought I was in the other window and pushed some sort of CTRL+(something) command but it enabled in ACAD since it was my active window. Well, I don't know what I pressed but now when I have something selected (with no command running) and try to pan to select additional items, the panning results in deselecting everything I had previously selected.
As you imagine this is quite annoying... I tried searching for something but the only thing I found was the command "pickadd". I tried the different settings for this and none worked. I can not remember what CTRL+ command I pressed... When the window popped up in ACAD, I just closed out of it real quick without (or at least I thought without) clicking anything.
I have installed the two service packs hoping to fix this issue. There appears to be a limit to the quantity of items that can be selected if trying to change a property using a pulldown menu. For example, if I select all items in a drawing (say 25,000 items, didn't test the limit), using (CTRL+A) or with mouse, and all items are not the same color, the OBJECT COLOR menu should be blank (have not value) because there is not only one color for the objects. Same would be true of the Layer menu if all objects are not on the same layer. This does not happen, the current Color or Layer are shown in the menu's. WIth the objects selected, changing the color (say from red to green) has no effect. Same is true if trying to assign all selected items to a specific layer. WIth less items selected (didn't test the limit), things work as expected.
I tried to see if the problem was with the menu, so I used the command line commands. Change, Property, Color, with all items selected works fine. Is there a bug with 2011 LT re this? I didn't have this issue using ACAD LT 2008 previously.
in the old autocad that i had for PC there was a command to re-select all selected items by typing P and then enter. I now have 2011 autocad for mac and can not figure out how to do the same thing.
Whether I used the flyout on the ribbon, the CTRL+1 command, or right click on properties in the menu of a selected item, the properties window does not appear. I tried both repairing and reinstalling AutoCAD and neither worked for me.
A program that prompts:"select objects:" then I can select some objects like as text, line, circle,... after that program find all texts in selected items and swap text
swap means: xxx/yyy ===> yyy/xxx ; "/" is a divisor
It's an e-commerce site for some sports related jewelry that he made, and he wants to protect the logos we worked on and the site design. What I've usually seen are people slapping a copyright date on their work and calling it good. However, I don't think that's really going to protect anything from being ripped off. I'm looking at websites and what it looks like is that I have to get an attorney and file some paperwork with the US Copyright Office.
say we have a photo, like a machine part...I would like to obtain only the outside lines of the objects inside the photo...I try to create something like cross-section of the photo...is it possible with photoshop ?
I am trying to write a 3d geometry exporter for AutoCAD.
Firstly, is iterating through the document database, and processing any Solid3d, Region & Body entities the best way to do this, or is there a faster way to access the 3d geometry?
Secondly, I assume using the first approach above, I need to process each entity as a Brep in order to get the vertices, polygons, etc. In this case, how are the UV coordinates for each vertex obtained?
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?
When saving using PNG optimizer I can obtain transparency selecting a single color (image attached), what is handy, but implies to save the image! When handling images in files as PSPImage, PNG, GIFF, is there any way of obtaining transparency besides using PNG optimizer? I mean, I would like to obtain transparency any moment, without being need to save the image...
I've been stuck on this for a while and im going through some blog posts at the moment to try and find some pointers but it cant hurt to ask here as well.
Im trying to obtain the handle/objectIDs from newly created objects made using the CO command or the copyclip pasteclip (ctrl+c, ctrl+v) command, imediately after they have be placed without the user having to click on them.
I have tried a method described elsewhere whereby you reduced the canvas size to say 95% then increase it by 105%, but the problem with this is that it doesn't create a border of equal width. The sides of a landscape orientated rectangular image end up being thicker than the top and bottom.
Is there a simple method for obtaining a border of equal thickness?
I used to be able to obtain the sqare footage of an area with the AREA command. A list would generate about seven or eight lines, listing the square footage, inches, perimeter etc.
Now all i see is one line; the area/perimeter (see attachment). Did i change a setting somewhere to obtain this simplify version of the AREA cmd? Something is not right...
I tried the MASSPROP and MEASURE GEOM, those will not show the square footage. This used to be so easy, what am i missing...
In LDT listing curve data was as easy as selecting an alignment, clicking edit and printing out a spreadsheet with all the required info. how to do this in C3D. Inifo I need:
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
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.
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.
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!
I am lucky enough to have access to a developer version of the recent Xbox One Kinect hardware. Naturally there is currently no software on the market that allows point clouds/mesh's to be obtained using the scanner within the Kinect.
I have seen that AutoCAD has been utilised to achieve this and wondered if there is any literature or instructions as to how this is achieved? Is there a plugin required that is able to control the Kinect V2 and output point cloud data from scans?
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?
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)