Illustrator SDK :: Text Range Associated With Unique ID?
Mar 26, 2013
This is the scenario.
I select a text in the doc, then run a command.
The command provides a unique id for the selected text range.
I use that id (may be at later point of time, may be after close/reopen of file) and run another command that selects that range using id and performs some operations.
Questions:
Is textrange associated with a unique id? (I am guessing yes, atleast internally) How do I get this id? Will this id be consistent accross sessions? (even if I close and open the file does it remain same)
View 7 Replies
ADVERTISEMENT
Apr 15, 2013
I am programmatically setting the text of selected text range from plugin. The text is obtained from external system. It is html formatted (ex: <b>bold</b> text and this is <i>italics</i>) . Is there a way to set the formatted text into text range? Currently it is showing the entire text including formatting tags as text.
View 3 Replies
View Related
Feb 6, 2014
I am trying to set font = "Times New Roman" to a text range.
But the API constantly fails with error code = "1430996551".
AIErr result = sAIFont->FindFont("Times New Roman Regular", kAIUnknownFontTechnology, kUnknownAIScript, false, &headingFontKey);
I tried "Times New Roman"
"Times Roman"
"Times-Roman"
"Times New Roman Bold"
I have all these fonts installed on my windows 7 machine and can see them in the AI's font selection menu as well.
What might be the problem ? And how to decode the errorcode (1430996551) ??
View 2 Replies
View Related
Jun 18, 2012
I have my annotation scales setup, I can move each scale individually but i cannot rotate individually, ie if I rotate one scale it does the same for rotation for every other scale
how do I get them to rotate individually??
View 3 Replies
View Related
Jun 9, 2011
I am working with a 3D model, we are using a addon for ACAD which allows us to clip the view port (ie: allows us to look at everything on the drawing but only between certain elevations { for example I could clip my drawing to only view between elevation (Z) 1000 - 1020 })
My question is: Is there any way to have text/Polylines show up even if they are not within the clipping range, specifically we would like to have a grid set up say at 0 elevation, and have it the same grid when we clip through our levels without having to manually copy it to each level we plan on clipping.
View 4 Replies
View Related
Feb 18, 2014
I am working on a scanned black and white image that I image traced in Illustrator. I am now in the process of seperating certain parts of the image from each other for changing colors. I know how to do this, but my way is by using direct select and going in and picking out points and joining them which is going to take ages. Is there any way to say select a range of anchor points on a path (not the whole path, but not individual points either) like shift clicking a range of files in windows explorer? Are there any other ways I can go about this in a more time efficient manner? I am using the Creative Cloud.
View 1 Replies
View Related
Jan 11, 2014
Illustrator Version CS3-CC
Preferred scripting: Visual Basic (VBScript)
In the Adobe Illustrator CS5 Scripting Reference (VBScript), I see the following code for setting character attributes.
iCount = textRef.Characters.Count
i = 1
Dim charRef
Do While (i < (iCount + 1))
dSize = dSize * 1.1
textRef.TextRange.Characters(i).CharacterAttributes.HorizontalScale = dSize
textRef.TextRange.Characters(i).CharacterAttributes.VerticalScale = dSize
i = i + 1
Loop
Is there a way to set character attributes on a range of characters at once?
Iterating through the characters one by one is really slow, especially in higher versions of Illustrator (like CS6).
I want to be able to set character attributes, for example, from the third character to the sixth character of a paragraph textrange.
Basically, I want to do something like itembyrange in InDesign scripting.
View 3 Replies
View Related
Apr 23, 2012
how I would be able to get a unique ID of a block?
Currently I tried all the properties of a block table record that resemble anything to do with an ID like btr.objectID and btr.ID although copies of blocks have the same ID as the original and the copies contain different attribute values so I wish to access the copies by just feeding in one ID (that I have grabbed from every block in the drawing and put into an array).
Is there a number that is unique to every individual block is essentially what I'm asking, and if so, how do I access it?
View 5 Replies
View Related
Apr 19, 2012
I have several spaces with the same types of case work. But instead of having each type have a general key note, I would like each instance of the type have a unique key note similar to the way doors work.
View 4 Replies
View Related
May 6, 2013
How would you create a border like this in Photoshop?
View 1 Replies
View Related
Sep 1, 2012
How do I transfer a unique brush (my signature) from CS4 to CS6?
View 4 Replies
View Related
Apr 29, 2013
I want to know an easy way to do the following:
Suppose I have some groups and I want to make some of them unique. But I don't want them to be unique among them, I want them to be instances of each other so when I modify one they all change, but of course, not the original groups.
It's not easy to explain, but allow me to try... I have 5 lamps, they are instances so when I change one the others change also, now let's say I want to make 2 of them unique, but I want them to be 'linked', so when I change one of these 2, the other gets affected also, but not the other 3 of course.
So, what's the best way to do that?
View 2 Replies
View Related
Oct 16, 2011
I seem to be having many, many problems in Maya 2012.Simple things like opening the plugin manager window, changing the camera, opening hypershade, and assigning materials seem torefuse to work, and give me errors such as
// Error: initializePlugin function failed (stereoCamera)
and
// .
Error: Object's name 'PluginRowColLyt1' is not unique
This is a clean install of Maya 2012 on Windows 7 64-bit, with no previous versions having ever been installed on here.
I've tried reinstalling it multiple times, and the issues still persist. I've also tried reinstalling Python multiple times.
View 4 Replies
View Related
Aug 22, 2013
I am trying to make a unique roof but I have had many failed attempts for hours now. Attached is a photo of the roof overhang I am trying to mimic and a crappy sketch showing the same thing. The roof has a normal gable on one end, but on the other. I need the over hand to go out three feet, then into a point at six feet at the same slope as the entire roof. NOT a hip roof which seems to be the only they I can make it. I even tried making a separate roof piece and it still didnt work.
View 1 Replies
View Related
Jul 15, 2013
I cannot seem to paste into this one drawing that a client has issued to me. I can paste into all associated x-refs just fine, but the main drawing is the issue. Before we get into things I have tried all the most common things already.
- I have checked layeer Visibilties and unreconciled layers.
- I have run audit and have purged/scalelistedit all drawings
- I have done almost everything ><
To sum it up I think it is global variable of some sort.
View 9 Replies
View Related
Feb 7, 2006
i've got a photo with a unique human skin and texture, i think this is a manipulation of a photo by photoshop. i can't understand, what is the most significant differences between this photo and the original photo.( sorry, i don't have the original image..i'm just imaging a general digital photo ).and i think this is not similar to Dragan style, because the skin looks wraped and painted..
View 7 Replies
View Related
Jul 11, 2013
I have multiple cylinders of increasing radius surrounding each over i.e first cylinder radius 0-5mm, 2nd 5-10m etc. (attached: cylinders.jpg). For the operand I'm using a solid cude - hollowed out in a particular shape i.e. using it like you would a physical mold.
Using ProBoolean Subtract I can successfully subtract the operand from one cylinder at a time, but not all the cylinders at once. I have up to 20 cylinders so it takes sometime to do individually (attached: subtract result).
If i 'Proboolean Merge' the cyclinders they become the one geometry and each cylinder looses its individual material.
How can I merge the cylinders such that I can perform the subtraction on them all in one go but they retain thier materials?
View 2 Replies
View Related
Apr 3, 2012
When one edits a block all instances of the block are changed. What is the command in AC to make one instance of the block unique, so editing will not affect the instances? In Sketchup it is "make unique".
View 4 Replies
View Related
Mar 13, 2013
If I duplicate a Vector Smart Object and "Edit Contents", the changes show up in both layers.
How can I create a unique duplicate of a Vector Smart Object so if I "Edit Contents" of one layer, it won't affect the other?
CS6 here.
View 1 Replies
View Related
Nov 21, 2012
Export each page (maximum object boundary not page boundary) as JPEG to my given path with unique file name. (file name will provided on each page as filename).
See Image Here...
[URL]..........
Uploaded with ImageShack.us
View 5 Replies
View Related
Apr 29, 2011
I would like to start saving in the file name a unique number with our artwork. When we send out art for approval it would be easier to have shirts-2345954.jpg as a searchable file.
Ideally the numbers would start and generate sequentially, per save or by some factor. So that once a number is used it can not be reused.
View 2 Replies
View Related
Mar 26, 2012
One of my frustrations with Inventor is the difficulty of constraining a sketch so that the solution is unique. It is an issue when alternate solutions appear while making adjustments.
As a simple example, suppose we have an adaptive work point. This point can be solved to be at a distance L from the origin, but could be in any direction meaning the part can rotate freely.
Instead of a work point, consider using an adaptive sketch point constrained vertically from the origin. When solved at a distance L from the origin, the part can rotate around the vertical axis (as one might expect when fixing two points), but it can also be flipped with the sketch point located in either the positive or negative vertical direction. Is there a way to ensure a solution is only found in the positive vertical direction?
View 3 Replies
View Related
Nov 26, 2012
Any macro to do it automatically....
i still have the change occurrence layer based on material macro but cant seem to find the change layer based on part...
yes we are still using autocad in conjunction with inventor, and on a side note have been quite enjoying the new parameters, dynamic blocks, easy scripts and customization features in autocad.
View 4 Replies
View Related
Feb 13, 2014
Can revit have duplicate family names. or family names are unique in a project.
View 1 Replies
View Related
May 17, 2011
A - Autodesk will fix them in a timely fashion during this release - Not holding my breath here
B - Others won't spend hours trying to figure it out.
In my case, I need to create multiple unique coordinate systems called Low Distortion Projections (Google it for explanation.)
Here are the problems identified so far with the 2012 version of the Coordinate Library
Coordinate System Categories
1 - The regional 'containers' that hold coordinate systems definitions. You cannot create an empty container. It requires at least 1 coordinate system definition to be created. When creating a container put an arbitrary coordinate system definition in. This assists with item 2b.
Coordinate System Definitions
2a - Getting started - There is no provision to just select an existing datum or ellipsoid. One must 'create' a new definition that may vary in name only. The vast majority of us using their products will not actually create new ellipsoids or datums just utilizing them as the basis for other projections.
2b - Creating definition - Continuing the definition process the definition needs to be placed in a coordinate system category. Due to the problems identified in item 1 this creates a circular error. The workaround being item 1 rather than creating multiple definitions in the wrong container then going back to fix them.
2c - Scale Reduction - This should be renamed to Scale Factor to fit with the rest of the known world as the value can be greater or less than unity (1.000000) In my case the values all happen to be something greater than 1. While on this subject, the autodesk programmers set this to do something totally unexpected. No matter what you set the value to, if you save and reedit the projection value will be displayed as '1'
2d - Missing Projection definition form data - I went through the projection definitions and found the following projection types were missing their fields in the form:
Oblique Mercator
Ordanance Survey National Grid Transformation 1997
Ordanance Survey National Grid Transformation OSTN02
View 8 Replies
View Related
May 7, 2013
I want to rename images imported from a card into Lightroom 4.4 with a single set of initials followed by a sequence of unique numbers. I would like the number sequence to continue from one import to the next. However, each time I start a new import, Lightroom starts again at 00001. Is there a way to instruct Lightroom to automatically continue the renumbering sequence from one import to the next WITHOUT manually resetting the "start" number each time?
View 1 Replies
View Related
May 27, 2013
I was wondering if there is a way to do batch processing for soft proofing different pictures similar to the sync functionality? I created a customer user preset however it seems to copy over the existing settings vs updating the +/-'s in the different areas. For example, I have a bunch of photos from different scenarios, events, actions, times, etc..
When I am soft proofing to a custom profile, looks like I just need to apply a few universal tweaks to WB (+100), exposure (+20, maybe +30), contrast (+10), blacks (-10), and clarity (+10, maybe +15) to get the soft proof copy to look like the master copy. Then I can quickly go through the soft proof copies and check.
Also, is there a way of creating a soft proof copy of all the pics in the develop module at once?
View 13 Replies
View Related
Mar 19, 2014
How do you duplicate a Sequence, but create new and unique Titles that are in that sequence quickly and efficiently? I've recently switched to PP CC. In FCP 7 I would duplicate the Sequence then make changes to the titles/text layers and not have any effect on the original Sequence or it's titles/text layers.
View 9 Replies
View Related
Feb 17, 2012
I have created a frame using the frame creator with all the individual members listed in the frature manager. When I check this into the vault it goes in fine.
When I create a second frame (seperate frame file) it uses one or two of the same fram types as the first frame. The problem comes when I go to check this into the vault it says the member already exists.
I have been told and I am seeing it that the frame creator always starts with "001" and numbers downward in creating the member names. This creates a problem in the vault because of the duplicate file factor.
What I ended up doing was calling up that particular member and doing a file save as then replacing it in the assembly. Then it would check in fine.
Is this the only work around or is there a setting somewhere that allows unique names for these frame members.
View 4 Replies
View Related
Jun 5, 2013
The TextBoxes don't have a Name property or an UniqueIdentifier property. So, I don't know how to find a specified TextBox.
I've tried to add a XML comment by code in the FormattedText property and got an error.
View 7 Replies
View Related
Dec 13, 2013
I've used Photoshop 5 for 14+ years now and was forced to switch to Photoshop Elements 11 when we installed new computers at work recently. It seems to be missing an important tool (for me) that I can't seem to find. I don't know the official name but I called it a "vector" tool. You could draw custom curved and straight lines between set points to create a unique shape. Does it exist or is there a newer way to do the same task?
View 2 Replies
View Related