Coordinates of anchor points

I want to get the coordinates of anchor points in every path layer. Can illustrator itself offer me a list of corrdinates X/Y?
I need the corrdinates for some science research, plz help me.

Thanks for your method, but it seems not what I want. I did as you said and found all points were separated.
I use anchor points to mark three or four points for every fracture in the picture. So what I want is the text formatted like this:
x11,y11,x12,y12,x13,y13 \n x21,y21,x22,y22,x31,y32 \n x31,y31,x32,y32,x33,y33……
I am reading the manual to learn to edit the script, but it seems not that easy as I am not familiar with it.

Similar Messages

  • Retrieving the selected anchor points coordinates.

    I have read the scripting guide,
    and learned about finding coordinates this way:
    var aDoc = activeDocument;
    var topObject = aDoc.selection[0];
    var coord = topObject.pathPoints[0].anchor
    alert(coord[0])
    I'm wondering how you would find the coordinates of a selected anchor point.
    For example: You make a hexagon, and then click on a single anchor point with the direct select tool.
    I want the script to know the coordinates of that anchor point.
    I'm using javascript and CS5.
    Thanks!

    hmm....selected path points include direction handles, so this should get us the correct coordinates
    var idoc = app.activeDocument;
    var ipath = idoc.pathItems[0];
    var sel = ipath.selectedPathPoints;
    //alert(sel.length);
    for (i=0; i<sel.length; i++) {
              var pp = sel[i];
              if (pp.selected == PathPointSelection.ANCHORPOINT)
                        alert(pp.anchor);
      //$.writeln(pp.selected);
      //$.writeln(pp.anchor);

  • Y coordinate of top left anchor point issue

    I'm writing a Java app against the prerelease version of InDesign Server CS4.
    To retrieve the coordinates top left anchor point of a page item I use the following code:
    topLeftCoordinate = this.idsPageItem.resolve(
    VariableTypeUtils.createEnumeration(kAnchorPointTopLeftAnchor.value),
    kCoordinateSpacesSpreadCoordinates.value,
    OptArg.noBoolean());
    double originX = topLeftCoordinate.asList()[0].asList()[0].asDouble();
    double originY = topLeftCoordinate.asList()[0].asList()[1].asDouble();
    The X coordinate is returned correctly, but the Y coordinate seems to be relative to the center of the page! If I add half of the page height to originY I get the value I expect.
    Is there a logical explanation for this behavior?
    Thanks in advance.

    Hi Chris,
    The origin of the spread coordinate system(kCoordinateSpacesSpreadCoordinates)is at the center of the spread. None of the coordinate systems used by resolve() match what you see on the rulers.
    If you know that the page item has not been transformed, you can use the geometricBounds of the page item to get the location in ruler coordinates. You could also use the anchor property of an individual path point.
    Thanks,
    Ole

  • How do you see a clip's anchor point?

    When working in the effect controls panel, I would like to move a clip/title's anchor point.  However, it doesn't do me much good if I can't see where that anchor point is.  In After Effects, there is a dot in the center of the image that indicates the anchor point.  Is there a way to make that show up in Premiere Pro CC?  Otherwise, I'm just stuck moving the coordinates with no visual frame of reference.

    In the effects control panel. click on the Motion effect to select it - then you should see the wireframe overlay appear, with the anchor point in the program monitor.
    MtD

  • Center Anchor Point at a Layer

    How can i center Anchor Point to a Layer center? Are there commands to align a center point?

    I dont need to do it with expressions, but i began to think this will do the only way.
    The very common situations are:
    (1) user creates a layer and draw a mask on it
    (2) user creates a text layer
    (3) user creates a shape layer
    The question is:
    how to position a layer Anchor Point
    in the center of a mask, text or shape
    without alter their position coordinates?
    Usually i see users position Anchor Point by hand
    but i imagine if there isnt a way to be sure it is absolutely centralized in a specific element
    (shape, mask or text)...
    Is the only way by dragging it by "eye method"?

  • 3D PSD file import : how to change 3D anchor point in AE ? Challenge..!

    Hello everyone,
    I've successfully imported a 3D file from Photoshop Extended CS4 into AE CS4. In AE, I can sucessfully animate rotation of the 3D object.
    Here's the problem : I cannot change the 3D object's anchor point. I've tried changing the anchor point's coordinates on the controller layer of the 3D object layer, the numers change, but the anchor point remains at its initial position, as if it was locked.
    I also thought changing the anchor point in PS Extended before importing the file into AE, but PS Extended does not seem to have an anchor point changing tool.
    So I even reasoned back one step : changing the anchor point in my 3D software since the beginning. Well, not possible because PS Extended seems to create an average position for the anchor point when impoting a 3D file from a third party software. So useless changing the coordinates in the 3D software.
    Photoshop Extended 3D is the only possible workflow to import 3D objects into AE that I know of.
    So, is is possible to change the 3D anchor point directly in After Effects ? What blocks that point from being changed ?
    This is quite a challenging problem, good luck for finding a solution ! I'm very sure that this technique is commonly needed and used when working in 3D, and that it will be of great help for many designers that want 3D in After Effects !
    Thanks again !
    Note : please do not confuse simple After Effects standard 3D layer, with the 3D PSD file import layer, these are two totally different types

    Any further forward with this anyone?
    This is driving me insane as well...
    I'm trying to create a simple comp within AE and have my clients logo fly on behind their text while rotating in 3D space.
    The idea is for it to rotate on the X axis, but rotate within the logo itself (straight through the axis within the logo itself)
    But when I try to rotate it, the AP is about 2.5 "logo depths" away from the logo, so when the rotation of any axis starts it looks ridiculous.
    Are Adobe really trying to tell us that moving the AP is not possible within AE for imported Live Photoshop PSD files?
    Hopefully a solution comes along soon as I cannot for the life of me figure out a workaround to the problem......
    Cheers,
    Paul.

  • Can't select anchor points of some shapes in Photoshop CC 2014

    I have a multi-layered file with a number of shape objects. When I go to the direct selection tool and try to click on an anchor point the points simply do not show up. Is there some property that I am not aware of that prevents selection?

    Can you upload the psd file.  The Path palette shows a very small triangle path on the right edge of the canvas up some from the bottom of the document. With the direct path tool active and the shape layer targeted even if no point is selected I would expect the see the path outline shown in the Path Palette for the shape layer to be shown in the image window also I see none. Can you see the path outline? Are you  on a Mac I'm on a PC using cc2014 with todays update
    here is my Photoshop System Info...
    Adobe Photoshop Version: 2014.1.0 20140730.r.148 2014/07/30:23:59:59  x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:13, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, AVX, HyperThreading
    Physical processor count: 12
    Logical processor count: 24
    Processor speed: 1995 MHz
    Built-in memory: 40886 MB
    Free memory: 34729 MB
    Memory available to Photoshop: 37129 MB
    Memory used by Photoshop: 94 %
    3D Multitone Printing: Disabled.
    Touch Gestures: Disabled.
    Windows 2x UI: Disabled.
    Image tile size: 1024K
    Image cache levels: 4
    Font Preview: Huge
    TextComposer: Latin
    Display: 1
    Display Bounds: top=0, left=0, bottom=1080, right=1920
    Display: 2
    Display Bounds: top=0, left=-1360, bottom=768, right=0
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGLGPUs=1
    NumCLGPUs=1
    glgpu[0].GLVersion="3.0"
    glgpu[0].GLMemoryMB=2048
    glgpu[0].GLName="Quadro 4000/PCIe/SSE2"
    glgpu[0].GLVendor="NVIDIA Corporation"
    glgpu[0].GLVendorID=4318
    glgpu[0].GLDriverVersion="9.18.13.4052"
    glgpu[0].GLRectTextureSize=16384
    glgpu[0].GLRenderer="Quadro 4000/PCIe/SSE2"
    glgpu[0].GLRendererID=1757
    glgpu[0].HasGLNPOTSupport=1
    glgpu[0].GLDriver="nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um"
    glgpu[0].GLDriverDate="20140702000000.000000-000"
    glgpu[0].CanCompileProgramGLSL=1
    glgpu[0].GLFrameBufferOK=1
    glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="4.40 NVIDIA via Cg compiler"
    glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[6553 6]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[4]
    glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[192]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[32]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[32]
    glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
    glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[4096]
    glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[124]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    clgpu[0].CLPlatformVersion="1.1"
    clgpu[0].CLDeviceVersion="1.1 CUDA"
    clgpu[0].CLMemoryMB=2048
    clgpu[0].CLName="Quadro 4000"
    clgpu[0].CLVendor="NVIDIA Corporation"
    clgpu[0].CLVendorID=4318
    clgpu[0].CLDriverVersion="340.52"
    clgpu[0].CUDASupported=1
    clgpu[0].CUDAVersion="6.5.12"
    clgpu[0].CLBandwidth=7.49684e+010
    clgpu[0].CLCompute=185.005
    License Type: Subscription
    Serial number: 96040035116912554961
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
    Temporary file path: C:\Users\JOHNJM~1\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      F:\, 465.2G, 173.4G free
      C:\, 224.2G, 102.3G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112 
       ACE.dll   ACE 2014/04/14-23:42:44   79.554120   79.554120
       adbeape.dll   Adobe APE 2013/02/04-09:52:32   0.1160850   0.1160850
       AdbePM.dll   PatchMatch 2014/04/23-10:46:55   79.554276   79.554276
       AdobeLinguistic.dll   Adobe Linguisitc Library   8.0.0 
       AdobeOwl.dll   Adobe Owl 2014/03/05-14:49:37   5.0.33   79.552883
       AdobePDFL.dll   PDFL 2014/03/04-00:39:42   79.510482   79.510482
       AdobePIP.dll   Adobe Product Improvement Program   7.2.1.3399 
       AdobeXMP.dll   Adobe XMP Core 2014/01/13-19:44:00   79.155772   79.155772
       AdobeXMPFiles.dll   Adobe XMP Files 2014/01/13-19:44:00   79.155772   79.155772
       AdobeXMPScript.dll   Adobe XMP Script 2014/01/13-19:44:00   79.155772   79.155772
       adobe_caps.dll   Adobe CAPS   8,0,0,13 
       AGM.dll   AGM 2014/04/14-23:42:44   79.554120   79.554120
       ahclient.dll    AdobeHelp Dynamic Link Library   1,8,0,31 
       amtlib.dll   AMTLib (64 Bit)   8.0.0.91 BuildVersion: 8.0; BuildDate: Tue May 27 2014 22:3:7)   1.000000
       ARE.dll   ARE 2014/04/14-23:42:44   79.554120   79.554120
       AXE8SharedExpat.dll   AXE8SharedExpat 2013/12/20-21:40:29   79.551013   79.551013
       AXEDOMCore.dll   AXEDOMCore 2013/12/20-21:40:29   79.551013   79.551013
       Bib.dll   BIB 2014/04/14-23:42:44   79.554120   79.554120
       BIBUtils.dll   BIBUtils 2014/04/14-23:42:44   79.554120   79.554120
       boost_date_time.dll   photoshopdva   8.0.0 
       boost_signals.dll   photoshopdva   8.0.0 
       boost_system.dll   photoshopdva   8.0.0 
       boost_threads.dll   photoshopdva   8.0.0 
       cg.dll   NVIDIA Cg Runtime   3.0.00007 
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007 
       CIT.dll   Adobe CIT   2.2.6.32411   2.2.6.32411
       CITThreading.dll   Adobe CITThreading   2.2.6.32411   2.2.6.32411
       CoolType.dll   CoolType 2014/04/14-23:42:44   79.554120   79.554120
       dvaaudiodevice.dll   photoshopdva   8.0.0 
       dvacore.dll   photoshopdva   8.0.0 
       dvamarshal.dll   photoshopdva   8.0.0 
       dvamediatypes.dll   photoshopdva   8.0.0 
       dvametadata.dll   photoshopdva   8.0.0 
       dvametadataapi.dll   photoshopdva   8.0.0 
       dvametadataui.dll   photoshopdva   8.0.0 
       dvaplayer.dll   photoshopdva   8.0.0 
       dvatransport.dll   photoshopdva   8.0.0 
       dvaui.dll   photoshopdva   8.0.0 
       dvaunittesting.dll   photoshopdva   8.0.0 
       dynamiclink.dll   photoshopdva   8.0.0 
       ExtendScript.dll   ExtendScript 2014/01/21-23:58:55   79.551519   79.551519
       icucnv40.dll   International Components for Unicode 2013/02/25-15:59:15    Build gtlib_4.0.19090 
       icudt40.dll   International Components for Unicode 2013/02/25-15:59:15    Build gtlib_4.0.19090 
       igestep30.dll   IGES Reader   9.3.0.113 
       imslib.dll   IMSLib DLL   7.0.0.145 
       JP2KLib.dll   JP2KLib 2014/03/12-08:53:44   79.252744   79.252744
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A) 
       libiomp5md.dll   Intel(R) OpenMP* Runtime Library   5.0 
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0 
       LogSession.dll   LogSession   7.2.1.3399 
       mediacoreif.dll   photoshopdva   8.0.0 
       MPS.dll   MPS 2014/03/25-23:41:34   79.553444   79.553444
       pdfsettings.dll   Adobe PDFSettings   1.04 
       Photoshop.dll   Adobe Photoshop CC 2014   15.1 
       Plugin.dll   Adobe Photoshop CC 2014   15.1 
       PlugPlugExternalObject.dll   Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit)   5.0.0 
       PlugPlugOwl.dll   Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit)   5.0.0.74 
       PSArt.dll   Adobe Photoshop CC 2014   15.1 
       PSViews.dll   Adobe Photoshop CC 2014   15.1 
       SCCore.dll   ScCore 2014/01/21-23:58:55   79.551519   79.551519
       ScriptUIFlex.dll   ScriptUIFlex 2014/01/20-22:42:05   79.550992   79.550992
       svml_dispmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0 
       tbb.dll   Intel(R) Threading Building Blocks for Windows   4, 2, 2013, 1114 
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   4, 2, 2013, 1114 
       TfFontMgr.dll   FontMgr   9.3.0.113 
       TfKernel.dll   Kernel   9.3.0.113 
       TFKGEOM.dll   Kernel Geom   9.3.0.113 
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113 
       updaternotifications.dll   Adobe Updater Notifications Library   8.0.0.14 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   8.0.0.14
       VulcanControl.dll   Vulcan Application Control Library   5.0.0.82 
       VulcanMessage5.dll   Vulcan Message Library   5.0.0.82 
       WRServices.dll   WRServices Fri Mar 07 2014 15:33:10   Build 0.20204   0.20204
       wu3d.dll   U3D Writer   9.3.0.113 
    Required plug-ins:
       3D Studio 15.1 (2014.1.0 x001)
       Accented Edges 15.1
       Adaptive Wide Angle 15.1
       Angled Strokes 15.1
       Average 15.1 (2014.1.0 x001)
       Bas Relief 15.1
       BMP 15.1
       Camera Raw 8.6
       Camera Raw Filter 8.6
       Chalk & Charcoal 15.1
       Charcoal 15.1
       Chrome 15.1
       Cineon 15.1 (2014.1.0 x001)
       Clouds 15.1 (2014.1.0 x001)
       Collada 15.1 (2014.1.0 x001)
       Color Halftone 15.1
       Colored Pencil 15.1
       CompuServe GIF 15.1
       Conté Crayon 15.1
       Craquelure 15.1
       Crop and Straighten Photos 15.1 (2014.1.0 x001)
       Crop and Straighten Photos Filter 15.1
       Crosshatch 15.1
       Crystallize 15.1
       Cutout 15.1
       Dark Strokes 15.1
       De-Interlace 15.1
       Dicom 15.1
       Difference Clouds 15.1 (2014.1.0 x001)
       Diffuse Glow 15.1
       Displace 15.1
       Dry Brush 15.1
       Eazel Acquire 15.1 (2014.1.0 x001)
       Embed Watermark 4.0
       Entropy 15.1 (2014.1.0 x001)
       Export Color Lookup NO VERSION
       Extrude 15.1
       FastCore Routines 15.1 (2014.1.0 x001)
       Fibers 15.1
       Film Grain 15.1
       Filter Gallery 15.1
       Flash 3D 15.1 (2014.1.0 x001)
       Fresco 15.1
       Glass 15.1
       Glowing Edges 15.1
       Google Earth 4 15.1 (2014.1.0 x001)
       Grain 15.1
       Graphic Pen 15.1
       Halftone Pattern 15.1
       HDRMergeUI 15.1
       IFF Format 15.1
       IGES 15.1 (2014.1.0 x001)
       Ink Outlines 15.1
       JPEG 2000 15.1
       Kurtosis 15.1 (2014.1.0 x001)
       Lens Blur 15.1
       Lens Correction 15.1
       Lens Flare 15.1
       Liquify 15.1
       Matlab Operation 15.1 (2014.1.0 x001)
       Maximum 15.1 (2014.1.0 x001)
       Mean 15.1 (2014.1.0 x001)
       Measurement Core 15.1 (2014.1.0 x001)
       Median 15.1 (2014.1.0 x001)
       Mezzotint 15.1
       Minimum 15.1 (2014.1.0 x001)
       MMXCore Routines 15.1 (2014.1.0 x001)
       Mosaic Tiles 15.1
       Multiprocessor Support 15.1 (2014.1.0 x001)
       Neon Glow 15.1
       Note Paper 15.1
       NTSC Colors 15.1 (2014.1.0 x001)
       Ocean Ripple 15.1
       OpenEXR 15.1
       Paint Daubs 15.1
       Palette Knife 15.1
       Patchwork 15.1
       Paths to Illustrator 15.1
       PCX 15.1 (2014.1.0 x001)
       Photocopy 15.1
       Photoshop 3D Engine 15.1 (2014.1.0 x001)
       Photoshop Touch 14.0
       Picture Package Filter 15.1 (2014.1.0 x001)
       Pinch 15.1
       Pixar 15.1 (2014.1.0 x001)
       Plaster 15.1
       Plastic Wrap 15.1
       PLY 15.1 (2014.1.0 x001)
       PNG 15.1
       Pointillize 15.1
       Polar Coordinates 15.1
       Portable Bit Map 15.1 (2014.1.0 x001)
       Poster Edges 15.1
       Radial Blur 15.1
       Radiance 15.1 (2014.1.0 x001)
       Range 15.1 (2014.1.0 x001)
       Read Watermark 4.0
       Render Color Lookup Grid NO VERSION
       Reticulation 15.1
       Ripple 15.1
       Rough Pastels 15.1
       Save for Web 15.1
       ScriptingSupport 15.1
       Shake Reduction 15.1
       Shear 15.1
       Skewness 15.1 (2014.1.0 x001)
       Smart Blur 15.1
       Smudge Stick 15.1
       Solarize 15.1 (2014.1.0 x001)
       Spatter 15.1
       Spherize 15.1
       Sponge 15.1
       Sprayed Strokes 15.1
       Stained Glass 15.1
       Stamp 15.1
       Standard Deviation 15.1 (2014.1.0 x001)
       STL 15.1 (2014.1.0 x001)
       Sumi-e 15.1
       Summation 15.1 (2014.1.0 x001)
       Targa 15.1
       Texturizer 15.1
       Tiles 15.1
       Torn Edges 15.1
       Twirl 15.1
       U3D 15.1 (2014.1.0 x001)
       Underpainting 15.1
       Vanishing Point 15.1
       Variance 15.1 (2014.1.0 x001)
       Virtual Reality Modeling Language | VRML 15.1 (2014.1.0 x001)
       Water Paper 15.1
       Watercolor 15.1
       Wave 15.1
       Wavefront|OBJ 15.1 (2014.1.0 x001)
       WIA Support 15.1 (2014.1.0 x001)
       Wind 15.1
       Wireless Bitmap 15.1 (2014.1.0 x001)
       ZigZag 15.1
    Optional and third party plug-ins:
       CUR (Windows Cursor) NO VERSION
       GREYCstoration NO VERSION
       ICO (Windows Icon) NO VERSION
       Reduce Noise 7.0.0.0
       ScriptListener 13.0
       StarFilter Pro 3 3.0.5.1
       SuperPNG 2.0
    Plug-ins that failed to load: NONE
    Flash:
       Adobe Kuler
    Installed TWAIN devices: NONE

  • How do I dial in the anchor point for 3D rotation?

    Flash knows where the anchor point is in 3D space in order for the symbol to rotate around it, but I can't seem to figure out how to see the coordinates of the anchor point or type in new ones. Please tell me how to do this. I am already very annoyed that Lynda, a pay service, doesn't think this is vital information. Apparently they think we would never want to do anything more visually stimulating than one simple spinning logo! But I digress...
    Just to be clear, I know how to move the anchor point visually on the stage, but I want accuracy. I want to be able to give two symbols the exact same coordinates to rotate around.
    Thanks for your help.

    Thank you! That's exactly what I was looking for.
    I also found a work around to what I was trying to do. You can select multiple symbols and rotate them around one axis, but that's not as accurate. BTW if you have any links to using 3D in CS4 that are beyond basic, I would love to see them.
    Thanks again,
    -Red-Mike

  • Move direction handles in synch with anchor point?

    Hi all
    I'm trying to nudge the anchor points on an object randomly (to get an informal look). (I know some Effects do this already.)
    Maintaining corner points is no problem - you just set the direction handles to the same coordinates as their anchor.
    But I can't nudge a smooth point in the way I want to, which is to move the anchor but maintain the direction handles in exactly the same relation to their anchor as they had before. That is to say, they should remain smooth points.
    My script calculates the difference between 'before' and 'after' positions of the anchor, and applies that difference to the direction handles… but in practice the smooth points are converted to corners, because the direction handles don't maintain their relation with the anchor.
    Would be grateful if someone can point out the flaw(s!) in my logic.
    var docRef = activeDocument;
    var objects = activeDocument.selection.length;
    var cShift = prompt("Point shift (pt)",5);
    // loop through all objects
    for(var count=0;count<objects;count++)
    currentObj = activeDocument.selection[count];
    nudge(currentObj);
    // function nudges each object
    function nudge(obj)
    var objPoints = obj.selectedPathPoints;
    var objPointCount = objPoints.length;
    for (var i = 0;i<objPointCount;i++){
    var thisPoint = objPoints[i];
    var va = thisPoint.anchor[0];
    var vb = thisPoint.anchor[1];
    var la = thisPoint.leftDirection[0];
    var lb = thisPoint.leftDirection[1];
    var ra = thisPoint.rightDirection[0];
    var rb = thisPoint.rightDirection[1];
    if(va==la && va==ra && vb==lb && vb==rb)
    { // if corner point, randomize anchor position
    va = va +((Math.random()*cShift));
    vb = vb +((Math.random()*cShift));
    thisPoint.anchor = Array(va,vb);
    // set direction handles at same position, maintaining a corner point
    thisPoint.leftDirection = Array(va,vb);
    thisPoint.rightDirection = Array(va,vb);
    else
    { // not a corner point: keep handles in same relative position to their shifted anchor
    var va2 = va +((Math.random()*cShift));
    var vb2 = vb +((Math.random()*cShift));
    thisPoint.anchor = Array(va2,vb2);
    // this bit calculates the random shift applied to the anchor
    var anchorShifta = va2 - va;
    var anchorShiftb = vb2 - vb;
    // these lines apply the same shift to the direction handles
    thisPoint.leftDirection[0] = la + anchorShifta;
    thisPoint.leftDirection[1] = lb + anchorShiftb;
    thisPoint.rightDirection[0] = ra + anchorShifta;
    thisPoint.rightDirection[1] = rb + anchorShiftb;

    The else part modified:
    else
    { // not a corner point: keep handles in same relative position to their shifted anchor
        var aShift = Math.random()*cShift;
        var bShift = Math.random()*cShift;
        thisPoint.anchor = [va  + aShift, vb + bShift];
        thisPoint.leftDirection = [la + aShift, lb + bShift];
        thisPoint.rightDirection = [ra + aShift, rb + bShift];

  • Anchor point used in drawImage() of  Graphics class

    Hi all,
    This is sourab.I need to know about the concepts of anchor point used in drawImage() of Graphics class.We all know in drawImage() method has four co-ordinates.First one is for Image name,second one is for x coordinate ,third one is for y coordinate and the final one is for anchor point.Actually anchor point will place the image in the corresponding position.Now my doubt is what is the purpose of x,y coordinates.
    Also i want some links to learn about this anchor point concepts.Can anyone provide solution to me ASAP.
    Regards/Thanks,
    Sourab

    We all know in drawImage() method has four co-ordinates. [co&ouml;rdinates?]http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html
    Or 5 or 6 or 7 or 10 or 11. And if you include Graphics2D:
    http://java.sun.com/javase/6/docs/api/java/awt/Graphics2D.html
    There is second one taking 4 arguments, and one taking 3.

  • Anchor points: Photoshop to After Effects

    Hello!
    I have imported some shape layers from photoshop into after effects. I would like to make them swing in three dimensional space, so I am trying to change the anchor point to the top of shape so that it will swing from that point. I cannot see the anchor point as you would with text, and it seems to be rotating around some random place further down. Perhaps this photoshop layer is rotating around the centre of the photoshop composition?
    What would be the fastest way to rectify this situation. There are 24 shapes but I will remake these shapes in AE if that is going to be the fastest way to make it happen.
    Thank you!

    Hi Trill:
    Use the Pan Behind (Anchor Point) Tool (‘y” is the keyboard shortcut) to click and drag the Anchor Point to where you need it to be for your animation.
    This behaves very much like moving the Anchor Point while using Free Transform in Photoshop. Also, it will retain the registration (or placement) of your layers relative to how they were stacked and aligned in Photoshop by changing both the layer Anchor Point coordinates and Position coordinates at the same time.
    Assuming that you’re importing your layered Photoshop document as a Composition, the Anchor Point for each layer defaults to one of two locations:
    The center of the respective layer if imported as “Composition – Retain Layer Size”
    The center of the Photoshop document Canvas Size if imported as “Composition”
    From what you’ve described, it sounds like you’re choosing as “Composition”.  Although, you’ll need to use the Pan Behind (Anchor Point) Tool layer by layer regardless to achieve what you’ve going for.
    There’s a behavior in AE that you could take advantage of to speed this up if you have pre-positioned your Photoshop layers such that the offset for the Anchor Point value change and the Position value change are the same for each layer.  If that’s the case, you could select all the layers in After Effects and when you change the values for one layer After Effects will change the like values for all the currently selected layers as well. Since it looks like each of your layers currently has the PS Canvas Size, this might work right now.
    - Warren

  • Extract anchor point coordiates?

    Hi,
    I'm pretty sure this question has been answered before, but the links have moved and I can't find it. So if anyone knows the answer please point me in the right direction.
    I would like to be able to extract a list of anchor point coordinates from a drawing.
    Say for example I have a star shape. I would like to know th x and y coordiantes of each anchor point on the star. I know I can hover with the direct selection tool, and this will give me the points, but say I have a image made up of 100 points, this isn't a good solution to have to write down all points separately. Is there a script I can run to extract these to a csv/txt file or just data written on the drawing?
    I've tried saving as SVG and then looking at the data contained, but it's not very easy to use as a coordinate log document.
    Also, although I'd just be happy to find out the coodinate location of anchor points, is there a way to find the handle dimensions of the cordinates?
    Many thanks for any ideas on this

    it can be scripted, here's a starting point
    select pathItems before running
    var idoc = app.activeDocument;
    var sel = idoc.selection;
    for (j=0; j<sel.length; j++) {
        var ipath = sel[j];
        var itext = idoc.textFrames.add();
        var pp = [];   
        for (i=0; i<ipath.pathPoints.length; i++) {
            pp.push(ipath.pathPoints[i].anchor);
        itext.contents = pp.join ("\r");
        itext.left = ipath.left + ipath.width + 2;
        itext.top = ipath.top;
        pp = null;

  • Automated list of anchor points out of AI CS4?

    hi there, I need to get a list of all anchor points in a vector based picture. The aim is to define the polygons that compose the picture in order to have a map of different clickable areas. Has anyone an idea if/how this could be done? Would save me a lot of time that I'd prefer spending creatively instead of jotting down the numbers
    On the picture you see one polygon with the x-y-coordinates e.g., I'd need a list of all polygons' x-y-coordinates...any suggestion will be appreciated a lot!!! many thanks, Fantasmorama

    Something with a script.... Look at this site to get some idea: http://www.illustrationetc.com/AI_Javascripts/PathScripts.htm. Should not be too difficult to iterate through all objects and their paths and dump the coordinates to a file.
    Mylenium

  • How can I use existing anchor point as a new one?

    Can anyone help?
    I'm tracing over a drawing, and I'm trying to use an existing anchor point as an anchor point for another curve. So, from c, I want to click and drag on anchor point b to make a new curve. If I click where b is, then I just delete b. Can I make b my initial anchor point so that I can use it to complete my tooth? When I get to the next teeth Ill have to do the same thing. Has anyone any ideas?

    > Each tooth should be a closed path.
    Why?
    > If I click where b is, then I just delete b.
    Ugh, turn off Auto Add/Delete Anchor Point and watch your rage levels instantly decrease. You can then put your final point anywhere you want, including smack dab on top of B.

  • How do I link to an anchor point  within a web page from within a PDF

    Hello,
    Can someone tell me how to link to an anchor point on a webpage from within a PDF?
    I created a page in Word and when i add my url with the # to reference the anchor eg. www.google.com/web#test1 and test the link it all works fine. I then create a PDF of this same page however the PDF seems to strip out the URL and looks to reference a file #test1.
    Any suggestions, ideas?
    Thanks

    see this post near the top . . . if you're using framesets you will scroll to the bottom of the page to see what they posted there.
    http://forums.adobe.com/message/628872#628872

Maybe you are looking for