Illustrator SDK :: Values Of Matrix Returned From ITextFrame

Feb 23, 2012

Explain the values of the matrix returned from the ITextFrame::GetMatrix() function (wrapper for sTextFrame->GetMatrix()). The a,b, c and d values which represent the rotation (and possibly the shear deformation) are OK,
 
but I can't relate the tx and ty values to the position of the text object on the artboard.As a test I tried the following code:
 
AIErr
CreatePointText( short paintOrder, AIArtHandle prep,
                 AIRealPoint *textPoint, AIArtHandle *newText)
{
     AIError error;
     error = sAITextFrame->NewPointText( paintOrder, prep,
                                         kHorizontalTextOrientation,
[code]...
                   
But the tx and ty values returned in matrix are now both 0.  They should equal textPoint.h and textPoint.v, shouldn't they?

View 4 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Polyline Z Values Not Being Returned By Vla-get-coordinates

Sep 8, 2011

I have a 2 point LWPOLYLINE that has the following coordinates at its end point when I 'ID' the point.

Command: id
Specify point: end
of  X = 709369.3214     Y = 7153039.9690     Z = 269.2143

However if I use..

(vlax-safearray->list (vlax-variant-value (vla-get-coordinates (vlax-ename->vla-object (car (entsel))))))

I get this

(-450567.0 269.288 -450570.0 269.214)

and if I 'dump' the object..

;   Coordinates = (-450567.0 269.288 -450570.0 269.214)
;   Document (RO) = #<VLA-OBJECT IAcadDocument 09855674>
;   Elevation = 7.17399e+006

I don't have a clue where the '-450567.0' is coming from.

I'm in Model Space in 'World' UCS, and I'm confused..  why does the 'ID'd' value not reflect whats going on when I use the vla-get-coordinates approach.

There are many other LWPolylines within the same model that behave normally.

I've attached the drawing (I think!)

View 7 Replies View Related

Illustrator SDK :: Set Matrix To Identity Matrix - All Items Flipped Upside Down

Dec 14, 2012

I am using the COM SDK.
 
Most of the objects have a Matrix which is going to store the objects rotations, flips, etc.
 
Many objects that I see appear to have a translation that takes it to somewhere around 7,000 - 9,000, but it's not constant.
 
What is this matrix in relation to? 

From what point is it translated from?

When I set the matrix to the "identity" matrix, all the items are flipped upside down.  Why?

View 1 Replies View Related

Illustrator SDK :: How To Use Transformation Matrix In Placed Suite

Nov 6, 2013

I am in trouble how to use the transformation matrix Placed Art (PlacedSuite ). 
 
AIRealMatrix rasterMatrix;
AIRealMatrix placedMatrix;
 if (artType == kRasterArt {
error = sAIRaster-> GetRasterMatrix (art, & rasterMatrix);
} else if ((artType == kPlacedArt) {
error = sAIPlaced-> GetPlacedMatrix (art, & placedMatrix);
}
 
When I converted to using the transformation matrix of PlacedArt, the target art could not be converted to expect. I could convert in case of the RasterArt. (The reference point of the transformation matrix of RasterArt is (0,0).)   
 
In the PlacedArt, preference point is not (0,0)?

The tx/ty of the transformation matrix of PlacedArt is not correct? 

In the transformation matrix of RasterArt and Placed Art, how are those two different?

View 1 Replies View Related

Illustrator SDK :: Getting Global Position Matrix For Each Text Character

Feb 24, 2012

I need to get the position and orientation of the first and the last character in a text frame art, that is, I need its  matrix.There are a number of functions in the API that is supposed; here's a snippet from the file ATESuites.h
 
Return transformation matrix of this run.The matrix returned spesify the full transformation of the given run.  You need to transform the origin by IGlyphRun::GetOrigins() and

concat with ITextFrame::GetMatrix() in order to get the location of the glyphs.
ATEErr (*GetMatrix) ( GlyphRunRef glyphrun, ASRealMatrix* ret);
 
Hence, getting the matrix of the first character or glyph should look something like this:
 
AIErr
VMGetFirstTextMatrix(  AIArtHandle textArt, AIRealMatrix *matrix)
{
    ASRealMatrix frameMatrix, glyphMatrix;
    ASRealPoint firstPoint;
    try
    {
[code]....
       
But the coordinates, either returned in frameMatrix (tx and ty) or the firstPoint are obviously wrong. It appears that they an offset which is allmost constant.  The x-values are approx 7664 points too large (give and take a few decimals), and the y-values are approx 7893 too large (also give and take a few decimals).

View 2 Replies View Related

Photoshop :: Discrepancy Between HDR Preview And Returned Photo?

Oct 5, 2012

I've had both CS5 and now CS6 on a Dell i7 with an HD5770 video card and tons of memory.  For some reason I can't get the same kind of results that I see others get in HDR Pro.  I've watched tons of example vids and in almost every example, what shows in the preview window is what is returned back to PS after hitting ok.
 
Not so on my computer.  What my HDR looks like in the preview window is almost nothing like what it looks like when returned to PS.  The contrast and exposure is usually quite different.  The effect of the radius and strength sliders seems much more exagerated.

View 3 Replies View Related

AutoCAD Inventor :: Returned A Search Box Rather Than Prompting For Password

Sep 18, 2012

Can you sign into AU.autodesk.com today? I just tried and it returned a Search box rather than prompting for my password. URl...

View 9 Replies View Related

AutoCad :: Drawing Returned To Units To Change To Decimal

Mar 27, 2013

For an autocad assignment, we have been given a drawing in engineering notation (feet and inches) and have to draw it with SI units dimensions. Doing the drawing was fine, BUT, I drew it in inches and thought that I could change it to millimetres.

I have used the units command initially to set up engineering. Then after drawing returned to units to change to decimal. Dimensions turned out in inches regardless. I also tried the scale command to alter the scale, then dimension , still no luck. I went into the annotation menu got to modify primary units and alternate units and still no luck. Not even my tutorial teacher knows how to do this.

View 2 Replies View Related

Photoshop Elements :: 12 To Be Returned Because Of Error Code 1500

Oct 22, 2013

I have been trying for over a week to install Elements 12 for more than a week.  I keep getting error code 1500. I will return Elements 12.
 
I have found Adobe products to be particularly sensitive to almost any anomoly that a computer, internet connection, or software conflict creates will cause their products (many versions of Elements and Adobe Acrobat) to hickup and not work.

View 1 Replies View Related

Edge Animate CC :: Order Of Symbols Returned By GetSymbols?

Nov 12, 2013

It seems that the order of symbols that I get back from sym.getComposition().getSymbols("symbolname") doesn't correspond to the order they were created or their order in the Elements table or their order in the timeline list.  What determines their order in the array?  How can I sort based on y position on stage or order of creation?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Attribute Blocks - Change 1st Tag Values Automatically According To 2nd Values

Jul 18, 2013

I have an attribute blocks and this att block has two tag values , is there a simple code for to change 1st tag values automaticly according to  2nd values ?

for example :

1st tag (50x50) - 2nd tag ( 100 )    ==> 50x50-100

if i enter 201 valuse to 2nd tag then 1 st tag has to change as 100x100

if i enter 501 valuse to 2nd tag then 1 st tag has to change as 150x510

I attached a jpg file for explain much better

View 9 Replies View Related

AutoCAD Map 3D :: Objects Returned From Data Query Do Not Appear With Their Related Text

Apr 5, 2012

We are using AutoCAD Map 3D 2011 (Service Pack 2 - Version 3).  This is replicable on multiple machines in multiple OS environments.

We attach a source drawing, run a query on Object Data but when that data appears in Model space it appears without any of the accompanying text for that object.

You can then execute the same query with a crossing window which brings in the surrounding objects including their text, but the original object still does not have its text.  If you delete the object and re-run the query with the crossing window again, then the object appears with its text.

This is a nightmare for the users because if they want to search on a specific object, and then have to delete it to get it back with the text, they then have to search for the item in amongst all the other items.  This kind of defeats the purpose of querying that object in the first place.

Is this just the way AutoCAD functions, or are we doing something wrong in our process sequence for querying the object data?

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Responds Pending On If T Or Nil Is Returned?

Jan 5, 2012

I have a short lisp program that returns either a T or nil, what I want is to shell an *. Exe file if nil is returned whilst T is engorged and AutoCAD continues?

to give some better example im trying to get autocad to launch an exe i have created if the ctb is missing the lisp snippet i have for detecting a ctb is (and tested) as follows;
 
(findfile (strcat (vla-get-PrinterStyleSheetPath (vla-get-Files (vla-get-Preferences (vlax-get-acad-object) ) ) ) "\" (vla-get-StyleSheet (vla-get-ActiveLayout (vla-get-ActiveDocument (vlax-get-acad-object) ) ) ) ))
 
now i want to capture if it says nil so that it activates the EXE file i have created to do additional stuff...

View 1 Replies View Related

Photoshop :: How To Display Pixel Values As Values Not As Percentages

Mar 15, 2013

I'm trying to show, using the eyedropper tool, the actual values of pixels in an 8-bit grayscale image (Mode command confirms that's what's there). In the Info panel, the eyedropper tool displays percentages for every type of color information (K, CMYK), while the "8-bit" field remains blank.

View 9 Replies View Related

AutoCAD Civil 3D :: Description Key Layer Set To No Values After Values Set?

Apr 18, 2013

Is there a way to have no layer value set for the description keys. I set all the layers, and now I realize I'd rather set this to no layers (boxes are all unchecked). I'd rather see no value under the layer column, but there doesn't seem like a way to set this. 

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Lookup Table Properties Value Returned Within Field

Aug 24, 2012

I am unsure weather to post this in Dyn Block technical or Fields as it comprises elements of both.

I am trying to get a field to return a 'lookup properties' value...

Actually, what I am trying to do is use a field to display either a + or a - depending upon upon the state of a flip parameter.

How I have been trying to achieve that is by using a lookup table to assign:

Input Properties.....Lookup Properties
Not flipped........=............+
Flipped.............=............-

Then I'm setting a Field to look at the Object 'Lookup Parameter' and return 'Lookup Action'.

The field then displays '#########' when testing the block.

When I return to edit the field it complains 'the object referenced y the field has been erased'. Both the table and parameter are still there, so I don't know what the problem is. Is there a better way of having a field return a specific value based upon a parameter state?

View 9 Replies View Related

Illustrator :: Add Values On Top Of Stacked Bar Graph?

Sep 24, 2013

Is there a way (plugin?) to add values on top of Illustrator Stacked Bar Graph? In the picture attached the numbers on top of the chart color areas are inserted manually. In powerpoint those can be added automatically.

View 2 Replies View Related

Illustrator :: Assign X And Y Values To The Axis?

Mar 10, 2013

how to create line graph of y vs. x having to sets of values.
 
I know how to open the data window and bring the data from external source.
 
How do I assign x and y values to the axes?

View 4 Replies View Related

Illustrator :: Convert Pantone To CMY Values Without K?

Jul 6, 2012

With my printer, I need to be able to print colors in CMY, not CMYK. Is there any way to convert Pantone to CMY values without the K?

View 5 Replies View Related

Illustrator :: How To Copy Hex Code Or RGB Values

May 17, 2012

Is it possible to Copy the Hex Code or RGB Values out of Illustrator to the Clipboard?
 
In Photoshop this is done by selecting the Eyedropper tool and then Right /CTRL clicking to bring up the context menu - is the similar way in Illustrator?  I can't find one

View 4 Replies View Related

Illustrator :: How To Repeat Duplication With Changing Values

Jan 24, 2013

I made an illustration to show what I need, I guess it's easier to understand than my explanation below...
 
QUESTION: I have a circle. I want to make a copy of this circle for, say, 80 % of the original size. I'd like to repeat the duplication so the next copy have the same distance to the second circle as between the first two circles (in other word the percentage would change between tranformations) - and so on.
 
Hopefully there is some easy way to achieve this so I don't have to do it manually.

(Btw, I use CS5)

View 5 Replies View Related

Illustrator Scripting :: Change Values In Action

Sep 13, 2012

I frequently record Illustrator Actions. My actions are quite long, but they all involve three common steps:
 
-Assigning Notes to shapes   
-Assigning Swatches to shapes   
-Selecting shapes that have a specific notes 

I often need to re-record my actions to repeat all the steps, but to change the notes/swatches that are selected/assigned during the action.
 
Illustrator has a re-record command. This command is great for changing the value of the note in number 3 of my list. However, it does not work for items 1 & 2 in my list. For these items I have to delete the old step in the action and then record a new step with the new swatch/note.
 
I know macros in Microsoft Office have an editor which allow you to change values in actions. Is there anything similar for Illustrator actions?You can save an Illustrator action and open it in Text Edit. However, all the attribute/swatch values are saved as weird strings, so I don't know how to change them.

View 4 Replies View Related

Illustrator Scripting :: Convert RGB Value To CMYK Values

Mar 26, 2013

I want a script that can convert RGB value to CMYK values.
 
I've seen this thread which explains a script to round up and down:
 
[URL].....
 
but is there a script that i can actually define lets say the colour is yellow and in RGB it looks ok because its in RGB mode so you change it to CMYK and you have 6% - 9% cyan and you only want yellow
 
is there a script out there that i can say
 
if
 
cyan = 6%
yellow = 80%
magenta = 0%
black = 0%
 
then change to
 
cyan = 0%
yellow = 80&
mangenta = 0%
black = 0%
 
I don't mind writting the code for each colour that needs to be converted as it would only need defining once but how would i make this script?

View 8 Replies View Related

Illustrator :: Placing Images Changes Their Color Values?

Feb 12, 2013

I've been placing photoshop tiff files into Illustrator, and doing this seems to change the color values, when I sample them with the eyedropper tool. The images I made use a custom mix of CMYK rich black, with the K set to 100. In Illustrator, they appear to revert to the default 'Photoshop black", approx C75 M68 Y67 K90. This is not my intent of C70 M60 Y58 K100. The Illustrator document is CMYK mode, and I don't know why this is happening. The non-image items (vectors) in my illustrator file DO retain the color values I intended, however.
 
Is this some kind of setting I can change in Illustrator? Will this discrepancy show up when this file goes to print?

View 2 Replies View Related

Illustrator :: Input Color Values In Hexadecimal?

Feb 26, 2013

I have some c# code (though it could be any language) and I am trying to copy the colors used therein into an Illustrator design.
 
Here's the code:
 
private static readonly Dictionary<string, SolidColorBrush> _DefaultModeColours = new Dictionary<string, SolidColorBrush>
{

[Code]....
 
The colors are specified using hexadecimal numbers for the ARGB values.
 
In Illustrator I have the following color chooser:
 
I could fire up a calculator and convert each of the (nonobvious) hex values into decimal, but I imagine there is an easy way to change the Illustrator settings for the document to use hex values. Is there? If so where do I set it?

View 1 Replies View Related

AutoCad :: Sum Values That Are Entered As Text Values?

Dec 21, 2012

Can AUTOCAD sum values that are entered as text values? Attached is a table text whose right final values should be all sumed up? Is this possible inside AUTOCAD?

View 9 Replies View Related

AutoCAD Inventor :: New File Dialog All Columns Returned To Their Default Size And Sort Also Reverted

Aug 2, 2012

Having problems with the updated new file dialog and I'm not talking personal problems. I switched it to detail view and widened up the name column so I could see the whole name. I could actually live with that setup however the next time I opened the new file dialog all the columns returned to their default size and the sort also reverted.

Is it just me or does the new file dialog not remember any changes to it's layout?

View 2 Replies View Related

Illustrator :: Having Data Values Display Within Column Graph

Jun 6, 2012

How to get data values to display inside the columns on a column graph?

View 2 Replies View Related

Illustrator :: Converting Spot To Process - CMYK Values

Jul 2, 2012

When I use a Pantone color in CS5 and then convert to process, I get certain values for CMYK. However, when I use that same Pantone color in CS6 and convert to process, I get different values for CMYK.
 
For example, Pantone 2685C converted to process in the both applications yields:

(CS5)  C-96, M-100, Y-0, K-10
(CS6)  C-90.73, M-100, Y-30.6, K-16.54

View 2 Replies View Related

Illustrator :: Default Increment For X And Y Values In Control Panel?

May 17, 2012

Is there a way to change the default increment for the X and Y value boxes in the Transform area of the Control panel? When I have an object selected and want to move the object by clicking the arrows beside the X and Y boxes the object moves 1/8 inch for each click. Is there a way to set that to 1/16 inch for example?
 
A screen grab is attached showing the area on the Control panel in question. I've checked all the Preferences settings I can find but haven't found this one yet.

View 9 Replies View Related

Illustrator :: Inconsistent Values In Info And Transform Panel?

Dec 15, 2013

What circumstances would cause inconsistent values for Width and Height to be shown in the Info Panel vs the Transform Panelin AI CS6?  For instance,  I have a vector object selected and the Transform Panel has "80 in" for the width value and the Info Panel shows "96.8654 in".  Height is likewise screwy. 

View 1 Replies View Related







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