Adding multiple paths into a compound path

If I use the gui to add multiple paths into a compound path all I have to do is select multiple paths and choose Object->Compound Path->Make (or ctrl-8). When I do this then the bottom path which is filled has holes 'punched through' creating a window in the shape of the smaller paths which were on top of the larger one. For example, a large rectangle with a white fill color is the bottom item and two smaller paths are on top. I create a compound path and whatever is below the new compound path shows through in the largest shape of the previous two smaller paths.
If I use JavaScript and create a new compoundPathItem and move 3 paths into it, with the largest being first, then I get a compound path but only the first of the smaller objects creates a transparent space.
Here is a simplified example:
    var grpMask = doc.groupItems['mask group'];
    var compound = grpMask.compoundPathItems.add();
    var pathobj = grpMask.pathItems['bigbox'];
    pathobj.move(compound,ElementPlacement.INSIDE);
    pathobj = grpMask.pathItems['PathLeft'];
    pathobj.move(compound,ElementPlacement.INSIDE);
    pathobj = grpMask.pathItems['PathRight'];
    pathobj.move(compound,ElementPlacement.INSIDE);
In the above example the 'bigbox' path has the left and right paths on top of it but only the left path creates a transparent space in the original box.
I also tried using PLACEATEND instead of INSIDE and grouping the two smaller paths together and moving the group to the compound path.
Merging path items together won't work - I want to keep the original path's closed and intact without drawing a line between them so I can't just add their pathpoints together.
Is move() the best way to add existing paths to a new compound path?
Thanks!

Im at work at the moment so only have access to CS2 where the second script works… The first script worked at home with CS5…
here were my test files… Before
and After…
As you can see with this I did not change the polarity of the last path as in this test case I knew it was the largest of the shapes not sure if that had any bearing on my results…?

Similar Messages

  • Adding multiple users into one security group at one shot

    Hi,
    Is there any way we can add multiple users into one security group at one shot into PWA.
    For example: I want 100 create 100 users in EPM and Providing them with custom define Team defined permissions and can I add Time sheet Manager as well while creating bulk user through resource template in Project server 2010.
    Thanks,
    Prashant

    Hi Prashant,
    In order to add users in a security group, you can open the group, select all the appropriate resources (pressing CTRL key) and add them to the group. There is no other easy way. Otherwise a powershell script could do the job.
    For the timesheet manager, if all the 100 resources have the same timesheet manager, you can go to the resource center, select the resources (sorting by resource ID will give you together the latest resources added), bulk edit the resources and select the
    timesheet manager for the selected resources.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Adding multiple query into a role

    hi gurus,
    is there any way that i can use to add multiple query (100+) into a role
    Please advice
    thank you

    Dear Ramasamy,
    Please check SAP note   588144, this explains the complete procedure:
    Regards,
    Arvind

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Export multiple paths to illustrator

    Photoshop CS5
    Is there really no way to export multiple paths, on multiple vector layers, to Illustrator in one go?

    What did you do to get that option to be available? I don't see it. All I see, in the "Export paths to file" dialogue is the path I currently have selected. But I have many vector layers I want in Illustrator (which I've already one by one copy/pasted into Illustrator, but I still want to know).

  • Adding multiple same-name nodes from one xml into another

    Hi,
    Following on from my question the other day (Adding multiple different nodes from one xmltype into another), I now have a slightly more complex requirement that I cannot work out where to start, assuming that it's something that can reuse some/all of yesterday's work (thanks again, odie_63!). ETA: I'm on 11.2.0.3
    So, here's the (slightly amended) xml along with yesterday's solution:
    with sample_data as (select xmltype('<root>
                                           <xmlnode>
                                             <subnode1>val1</subnode1>
                                             <subnode2>val2</subnode2>
                                           </xmlnode>
                                           <xmlnode>
                                             <subnode1>val3</subnode1>
                                             <subnode2>val4</subnode2>
                                           </xmlnode>
                                         </root>') xml_to_update,
                                xmltype('<a>
                                           <b>valb</b>
                                           <c>valc</c>
                                           <d>
                                             <d1>vald1</d1>
                                             <d2>vald2</d2>
                                           </d>
                                           <e>vale</e>
                                           <f>valf</f>
                                           <g>
                                             <g1>valg1</g1>
                                             <g2>valg2</g2>
                                           </g>
                                           <h>
                                             <h1>valh1</h1>
                                             <h2>valh2</h2>
                                           </h>
                                           <multinode>
                                             <name>fred</name>
                                             <type>book</type>
                                             <head>1</head>
                                           </multinode>
                                           <multinode>
                                             <name>bob</name>
                                             <type>car</type>
                                             <head>0</head>
                                           </multinode>                                        
                                         </a>') xml_to_extract_from
                          from   dual)
    select xmlserialize(document
               xmlquery(
                 'copy $d := $old
                  modify (
                    insert node element extrainfo {
                      $new/a/b
                    , $new/a/d
                    , $new/a/f
                    , $new/a/h
                    } as first into $d/root
                  return $d'
                 passing sd.xml_to_update as "old"
                       , sd.xml_to_extract_from as "new"
                 returning content
             indent
    from sample_data sd;
    That gives me:
    <root>
      <extrainfo>
        <b>valb</b>
        <d>
          <d1>vald1</d1>
          <d2>vald2</d2>
        </d>
        <f>valf</f>
        <h>
          <h1>valh1</h1>
          <h2>valh2</h2>
        </h>
      </extrainfo>
      <xmlnode>
        <subnode1>val1</subnode1>
        <subnode2>val2</subnode2>
      </xmlnode>
      <xmlnode>
        <subnode1>val3</subnode1>
        <subnode2>val4</subnode2>
      </xmlnode>
    </root>
    However, I now need to add in a set of new nodes based on information from the <multinode> nodes, something like:
    <root>
      <extrainfo>
        <b>valb</b>
        <d>
          <d1>vald1</d1>
          <d2>vald2</d2>
        </d>
        <f>valf</f>
        <h>
          <h1>valh1</h1>
          <h2>valh2</h2>
        </h>
        <newnode>
          <name>fred</name>
          <type>book</type>
        </newnode>
        <newnode>
          <name>bob</name>
          <type>car</type>
        </newnode>
      </extrainfo>
      <xmlnode>
        <subnode1>val1</subnode1>
        <subnode2>val2</subnode2>
        <type>book</type>
      </xmlnode>
      <xmlnode>
        <subnode1>val3</subnode1>
        <subnode2>val4</subnode2>
        <type>car</type>
      </xmlnode>
    </root>
    If it's easier, I *think* we would be ok with something like:
    <newnode>
      <type name="fred">book</type>
      <type name="bob">car</type>
    </newnode>
    The closest I've come is:
    with sample_data as (select xmltype('<root>
                                           <xmlnode>
                                             <subnode1>val1</subnode1>
                                             <subnode2>val2</subnode2>
                                           </xmlnode>
                                           <xmlnode>
                                             <subnode1>val3</subnode1>
                                             <subnode2>val4</subnode2>
                                           </xmlnode>
                                         </root>') xml_to_update,
                                xmltype('<a>
                                           <b>valb</b>
                                           <c>valc</c>
                                           <d>
                                             <d1>vald1</d1>
                                             <d2>vald2</d2>
                                           </d>
                                           <e>vale</e>
                                           <f>valf</f>
                                           <g>
                                             <g1>valg1</g1>
                                             <g2>valg2</g2>
                                           </g>
                                           <h>
                                             <h1>valh1</h1>
                                             <h2>valh2</h2>
                                           </h>
                                           <multinode>
                                             <name>fred</name>
                                             <type>book</type>
                                             <head>1</head>
                                           </multinode>
                                           <multinode>
                                             <name>bob</name>
                                             <type>car</type>
                                             <head>0</head>
                                           </multinode>                                        
                                         </a>') xml_to_extract_from
                          from   dual)
    select xmlserialize(document
               xmlquery(
                 'copy $d := $old
                  modify (
                    insert node element extrainfo {
                      $new/a/b
                    , $new/a/d
                    , $new/a/f
                    , $new/a/h
                    , element newnode {
                                       $new/a/multinode/name
                                       ,$new/a/multinode/type
                    } as first into $d/root
                  return $d'
                 passing sd.xml_to_update as "old"
                       , sd.xml_to_extract_from as "new"
                 returning content
             indent
             ) fred
    from sample_data sd;
    Which produces:
    <newnode>
      <name>fred</name>
      <name>bob</name>
      <type>book</type>
      <type>car</type>
    </newnode>
    - obviously not right!
    Can anyone provide any hints? I've tried searching for similar examples, but I mustn't be putting in the right search terms or something!

    odie_63 wrote:
    or, similarly, to get the alternate output :
    copy $d := $old
    modify (
      insert node element extrainfo {
        $new/a/b
      , $new/a/d
      , $new/a/f
      , $new/a/h
      , element newnode {
          for $i in $new/a/multinode
          return element type {
            attribute name {data($i/name)}
          , data($i/type)
      } as first into $d/root
    return $d
    So we're going with the second method, but I've discovered that the "$i/name" node is not always present. When that happens, I would like to use a default value (for example, "george"). I promise I've searched and searched, but I'm completely failing to turn up anything that sounds remotely like what I'm after (seriously, I can't believe my google-fu sucks this badly!).
    Is there a simple way of doing it? The only thing that I've found that looks vaguely relevant is "declare default namespace...." but I'm not sure that that's the correct thing to use, or if it is, how I'm supposed to reference it when populating the attribute value.

  • Adding redirect path and  pattern in Lion server for configuring software update server

    Adding redirect path and  pattern in Lion server for configuring software update server.Any changes

    Ok, after days of browsing on the forum I found the following hint on another discussion related to AFP access:
    "This may be a service ACL issue.
    It turns out one of the latest Apple updates turned on Service ACL's which caused AFP connections to be  blocked. Once I fixed the Service ACL in Server Admin... all connections and Single Sign On worked."
    Well, after allowing access to all services to all users with Server Admin, we were finally able to log in the server with our admin account...
    So, there must have been an update that turned on ACL's which caused even our local access, probably for OD/Kerberos, on the server to be restricted.

  • Photoshop file exports multiple paths to illustrator

    I'm brand new to illustrator but have noticed than when i place a Photoshop tiff file, it sometimes imports multiple paths with the image -- some of which
    do not show up in photoshop.   For instance, I have a file with two objects with paths, I crop to one image in photoshop, then save.  When I import that single image cropped file to illustrator, FOUR paths show up instead of one -- i.e. I have the two paths of the original photoshop image plus duplicates of the same, all in the same file.   I've noticed this happens on all my files that originally had multiple images even though they had been cropped to just a single image.
    Anyone know how to fix this, or better yet, what the heck is going on?

    We did not get your screenshot, use the camera icon left of the smiley face.
    Did you try Milleniums suggestions, you may have cropped this adn have a clipping path that is off the canvas taht you are not seeing.
    To flush this out, I would select the good  path you have in photoshop, cut this, delete all paths in your phothsop document, then paste the path in your clipboard, name it, set it to your clipping path.
    I personally never use clipping paths for final, as they make my knockouts look unnatural, and too hard edged. I mask my layers(in a grouped set), cause then I am getting my background knockout out at 300 dpi (bitmapped CT resolution), rather than a razor sharp 3386 dpi(LW resolution).  You may be working on a web project so this may not affect you as much, but just wanted to note this finer point as many people nowadays never worked on a Scitex/Crossfield/Hell so don't realize this is what is happening.

  • THIS SUCKS!!! Re:Multiple paths in FILE_DATASTORE path attribute

    After 6 hours of struggle I managed to solve my problem. Everything was due to a stupid mistake (or incomplete documentation of intermediaText) on Oracle's part:
    1. Pasted from Oracle8i interMedia Text Reference - Datastore Objects:
    You can specify multiple paths for path, with each path separated by a colon (:). File names are stored in the text column in the text table. If path is not used to specify a path for external files, Oracle requires the path to be included in the file names stored in the text column.
    2. Pasted from Oracle intermedia Text Manager online help:
    Multiple paths can be specified for
    path, with each path separated by a colon (:).
    This is wrong at least on Windows based OS's. Fortunately, when everything else failed I tried with a SEMI-COLON (;) and worked. Go figure...

    Please ask questions (or post statements) about Oracle Text (formerly interMedia text) in the Oracle text forum. Oracle text experts monitor the Oracle Text forum, you will get a quicker, more expert answer there.

  • Servlet classpath: multiple path

    Is it possible to have multiple path in a servlet classpath (not in the java
              class path) ?
              How do you do it. ?
              Jean.
              

    Yes, it is possible.
              1) on NT, use ";" as classpath seperator.
              2) on UNIX, use ":" as classpath seperator.
              Cheers - Wei
              Jean Kunz <[email protected]> wrote in message
              news:8b531n$q4m$[email protected]..
              > Is it possible to have multiple path in a servlet classpath (not in the
              java
              > class path) ?
              >
              >
              > How do you do it. ?
              >
              > Jean.
              >
              >
              

  • Best way to achieve multiple paths with quizzes using Captivate 6?

    I’m looking for the best way to achieve multiple paths and quizzes using Captivate 6.
    Here is the scenario: The learner watches general slides 1 – 3 and then chooses between Path A, Path B, or both paths combined.  If they choose Path A then they watch the A portion only and take the A Quiz only. Same happens for Path B and for the two paths combined. The learner would only have to go one path to complete the course.
    What I’m finding is Captivate only has one Quiz results page (even if you create two separate quizzes, it merges them). I was trying to avoid having three separate projects for the same module to keep it simple. I see if I have three separate projects I could use the Multi-SCO Packager to merge them for use on my Moodle LMS. But wait, I don't have the elearning suite, so I don't have access to the Multi-SCO Packager...
    My question is: What is the best approach way to accomplish this goal? Any recommendations?
    Message was edited by: austingina

    Captivate 6 has Branch Aware quizzing.  Turn on that option in Quiz Settings and then your Quiz Results page should only show results for the branch your user visits.

  • Pen Tool Multiple Path Selection

    Just upgraded to CC 2014. I frequently remove photo backgrounds by creating paths with the pen tool. I have always been able to create multiple paths for areas that I want to delete using the pen tool, then upon completion, right click, choose "Make Selection" and then delete all the areas at once. Since upgrading, only the last path region is selected using this method and the other areas disappear. Any help would be greatly appreciated, have been going crazy trying to figure this out.

    That particular aspect should work the same as previous versions.  When you make the first path, click outside that path in the Paths panel, and then click back on it. You only need to do this if you have left the previous path open (not closed it by joining the two ends.
    Continue using the pen tool and the new path segments will be there in the same path.
    You need to be aware of the Pen tool options, like Combine, Subtract, Intersect. 
    If you use that path for making a selection for instance, and then use the Pen tool again, you will lose the first path.  A quick and easy way to save paths is to drag them to the New Path icon at the bottom of the Paths panel.
    This graphic might be of help.

  • Avoid multiple paths rpd part II

    Hi,
    after resolved "Multiple paths" problem, i explain you subsequent error message that Administration tool gives me.
    I have following mapping:
    I have following tables:
    Entity (DIMENSION) - Entity_Relationship (DIMENSION) - HFM_Inventory (FACT TABLE) - HFM_Inventory (ALIAS) (FACT TABLE), HFM_Financial (FACT TABLE), HFM_Marketing (FACT TABLE) - HFM_Receivables (FACT TABLE).
    My mapping in Logica Business Model is:
    Entity -> Entity_Relationship
    Entity -> HFM_Inventory
    Entity -> HFM_Financial
    Entity -> HFM_Marketing
    Entity -> HFM_Receivables
    Entity_Relationship -> HFM_Inventory (ALIAS)
    When i link Entity_Relationship -> HFM_Inventory (ALIAS) , Global Consistency gives me following error:
    Logical Table HFM_Financial has no a proper primary key defined. But in my opinion it's obvious because it's a fact table and not a dimension. What is wrong in my mapping?
    Thanks
    Giancarlo
    Edited by: 832596 on 12-mar-2011 4.19

    Hi Diney,
    thanks for your reply. Following your suggestions, error message is disappeared, so i believe your reply was right. But now i have another problem that i explain in another post. I hope you can help me even in it
    Thanks
    Giancarlo

  • [svn] 4018: Adding templates-path as a supported attribute of asdoc

    Revision: 4018<br />Author:   [email protected]<br />Date:     2008-11-04 14:43:47 -0800 (Tue, 04 Nov 2008)<br /><br />Log Message:<br />-----------<br />Adding templates-path as a supported attribute of <asdoc> <br /><br />QE Notes: None<br />Doc Notes: None <br />tests: checkintests<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java

    [list]
    [*]. is an abbreviated syntax for self::node(). It's not correct syntax to use the dot after an explicit axis name.
    [*] self::foo matches the current node if it is a <foo> element. self::* matches the current node if it is an element. self:node() matches the current node.
    C. parent::node() is the "long form" which has .. as its abbreviated syntax. They are designed to give the same results.
    [*]OracleXSL does not current implement the namespace axis yet.
    [list]

  • How to verify multiple paths available to a route in OSPF

    Hello,
    How do I verify multiple paths available to a route in OSPF
    I have three paths available to a route. I can see two equal cost paths shown in the routing table. The third higher metric path doesn't show up in the routing table
    When I disable the two equal cost paths, the third path is visible in the routing table
    Is there a command in ospf or shortest path algorithm, which can show the total number of paths available to a route and why one route is chosen over other
    Thanks,
    Chandru

    Thanks for the reply Reza. Is there a way to find all paths available in the ospf database.
    I just wanted to know the total number of paths available to an route in ospf area

Maybe you are looking for