Expressions in different compositions.

I am using pre_composed object in different compositions (A,B,C). Each compositions have their own camera in it (active camera). I am applying the expression bellow to rotate my object with the camera.
value+lookAt(comp("A").activeCamera.toWorld([0,0,0]),position)[0]
Everything works as I expected, but I can't use the same expression in the same object to work with comp B and C. Is there any way around this problem?

There's no way for an expression to reference another comp, except by name. That means there's no way for an expression in a precomp to identify an outer, 'parent' comp.
You'd have to create separate copies of the precomp. With clever naming and a one-to-one relationship between precomps and parent comps, they could use identical expressions, which would build the name of the parent comp on the fly from the precomp's name. So if you had Precomp A nested in Comp A, you could do something like this:
parentComp = comp("Comp " + thisComp.name.split(" ")[1]);
Dan

Similar Messages

  • Add a single role to different composite roles in one step

    Hello everybody,
    I am working on SAP authorizations, and we often have the situation that a new Tcode is developed and a new role for this Tcode needs to be created.
    Than this new role needs to be added to many different composite roles (sometimes more than 100). At the moment I enter the single role to the composite role and regenerate the menu and this one by one. After that I add them with PFCG_MASS_TRANSPORT to my transport request.
    I don't want to believe that there is no easier way. Any ideas?
    Thank you
    Flo

    Hi Soma,
    great to find a place to be welcome..Thanks
    What you wrote definitely makes sense, but we agreed that every user only gets one composite role assigned and this composite role contains all single roles needed for his job. We do not assign single roles to users.
    The requirement is that every finance guy should get access to it (by the way, it is a report) unfortunately we have many different sites and may different composite roles for the different positions in the finance area.
    And I did not identify a role which is part of every composite role in the finance area, so I would either have to add it to the most common role present in these composite roles and additionally create a new role which gets assigned to the composite roles where I add the T-Code to is not present.
    -> In this example I would add one T-Code to two roles. Which our security manager disallowed me...
    or make this role available in all finance composite roles, which will give these employees access to other T-Codes which are part of the role but which they should not receive.
    -> Which again... our security manager disallowed me...
    So the only solution I imagined was to create a new role which contains this T-Code and to add this role one by one to every composite role.
    And at the end, your concept is also taken into account because the design of this role is open and if we get a new reporting T-Codes which again need to be added to all Finance guys, I definitely add it to this role
    Comments?
    Cheers
    Florian

  • How to reference BPMN process from a different Composite

    I have one "master" composite that defines a BPMN process. This process takes the input and, based on that input, will direct the workflow to the required BPMN process. There will be several BPMN process that can be referred to, and each one is created in its own Composite.
    Currently, in the "master" composite, I've created a Web Service Adapter that is a reference to the required BPMN process from a different composite.
    There seems to be something missing my composite.xml source though, for when I try to compile everything, I get an exception.
    First, here's the XML for the reference in the "master" composite. You can see that there is no value for the web service port or location. I'm not sure what it should be because this is all design-time. At some point, I will deploy all of the composites to one server.
    <reference name="AssetSubmissionService"
    ui:wsdlLocation="AssetSubmissionProcess.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/bpmn/bpmnProcess/AssetSubmissionProcess#wsdl.interface(AssetSubmissionProcessPortType)"
    callbackInterface="http://xmlns.oracle.com/bpmn/bpmnProcess/AssetSubmissionProcess#wsdl.interface(AssetSubmissionProcessPortTypeCallBack)"/>
    <binding.ws port="" location=""/>
    <callback>
    <binding.ws port=""/>
    </callback>
    </reference>
    The exception is: Error(12,61): Parse of component type files failed, check the adf-config.xml file : "Error at line 32 char 38: Malformed WS Binding port. Missing # between namespace URI and service/port names."
    Thanks,
    Mike

    Mike,
    There needs to be a binding defined in the other WSDL. If there is not at design time you may need to deploy the 2nd composite in order to get a copy of its WSDL with a binding defined.
    Thanks,
    Adam DesJardin

  • Filter expression producing different results after upgrade to 11.1.1.7

    Hello,
    We recently did an upgrade and noticed that on a number of reports where we're using the FILTER expression that the numbers are very inflated. Where we are not using the FILTER expression the numbers are as expected. In the example below we ran the 'Bookings' report in 10g and came up with one number and ran the same report in 11g (11.1.1.7.0) after the upgrade and got two different results. The data source is the same database for each envrionment. Also, in running the physical SQL generated by the 10g and 11g version of the report we get different the inflated numbers from the 11g SQL. Any ideas on what might be happening or causing the issue?
    10g report: 2016-Q3......Bookings..........72,017
    11g report: 2016-Q3......Bookings..........239,659
    This is the simple FILTER expression that is being used in the column formula on the report itself for this particular scenario which produces different results in 10g and 11g.
    FILTER("Fact - Opportunities"."Won Opportunity Amount" USING ("Opportunity Attributes"."Business Type" = 'New Business'))
    -------------- Physical SQL created by 10g report -------- results as expected --------------------------------------------
    WITH
    SAWITH0 AS (select sum(case when T33142.OPPORTUNITY_STATUS = 'Won-closed' then T33231.USD_LINE_AMOUNT else 0 end ) as c1,
    T28761.QUARTER_YEAR_NAME as c2,
    T28761.QUARTER_RANK as c3
    from
    XXFI.XXFI_GL_FISCAL_MONTHS_V T28761 /* Dim_Periods */ ,
    XXFI.XXFI_OSM_OPPTY_HEADER_ACCUM T33142 /* Fact_Opportunity_Headers(CloseDate) */ ,
    XXFI.XXFI_OSM_OPPTY_LINE_ACCUM T33231 /* Fact_Opportunity_Lines(CloseDate) */
    where ( T28761.PERIOD_NAME = T33142.CLOSE_PERIOD_NAME and T28761.QUARTER_YEAR_NAME = '2012-Q3' and T33142.LEAD_ID = T33231.LEAD_ID and T33231.LINES_BUSINESS_TYPE = 'New Business' and T33142.OPPORTUNITY_STATUS <> 'Duplicate' )
    group by T28761.QUARTER_YEAR_NAME, T28761.QUARTER_RANK)
    select distinct SAWITH0.c2 as c1,
    'Bookings10g' as c2,
    SAWITH0.c1 as c3,
    SAWITH0.c3 as c5,
    SAWITH0.c1 as c7
    from
    SAWITH0
    order by c1, c5
    -------------- Physical SQL created by the same report as above but in 11g (11.1.1.7.0) -------- results much higher --------------------------------------------
    WITH
    SAWITH0 AS (select sum(case when T33142.OPPORTUNITY_STATUS = 'Won-closed' then T33142.TOTAL_OPPORTUNITY_AMOUNT_USD else 0 end ) as c1,
    T28761.QUARTER_YEAR_NAME as c2,
    T28761.QUARTER_RANK as c3
    from
    XXFI.XXFI_GL_FISCAL_MONTHS_V T28761 /* Dim_Periods */ ,
    XXFI.XXFI_OSM_OPPTY_HEADER_ACCUM T33142 /* Fact_Opportunity_Headers(CloseDate) */ ,
    XXFI.XXFI_OSM_OPPTY_LINE_ACCUM T33231 /* Fact_Opportunity_Lines(CloseDate) */
    where ( T28761.PERIOD_NAME = T33142.CLOSE_PERIOD_NAME and T28761.QUARTER_YEAR_NAME = '2012-Q3' and T33142.LEAD_ID = T33231.LEAD_ID and T33231.LINES_BUSINESS_TYPE = 'New Business' and T33142.OPPORTUNITY_STATUS <> 'Duplicate' )
    group by T28761.QUARTER_YEAR_NAME, T28761.QUARTER_RANK),
    SAWITH1 AS (select distinct 0 as c1,
    D1.c2 as c2,
    'Bookings2' as c3,
    D1.c3 as c4,
    D1.c1 as c5
    from
    SAWITH0 D1),
    SAWITH2 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    sum(D1.c5) as c6
    from
    SAWITH1 D1
    group by D1.c1, D1.c2, D1.c3, D1.c4, D1.c5)
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6 from ( select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    sum(D1.c6) over () as c6
    from
    SAWITH2 D1
    order by c1, c4, c3 ) D1 where rownum <= 2000001
    Thank you,
    Mike
    Edited by: Mike Jelen on Jun 7, 2013 2:05 PM

    Thank you for the info. They are definitely different values since ones on the header and the other is on the lines. As the "Won Opportunity" logical column is mapped to multiple LTS it appears the OBI 11 uses a different alogorthim to determine the most efficient table to use in the query generation vs 10g. I'll need to spend some time researching the impact to adding a 'sort' to the LTS. I'm hoping that there's a way to get OBI to use similar logic relative to 10g in how it generated the table priority.
    Thx again,
    Mike

  • ORA-00979: not a GROUP BY expression on different oracle version

    Hi,
    I tried below sql on different database and I'm having a strange result.
    error is ORA-00979: not a GROUP BY expression
    SELECT COUNT(*) OVER() CNT,
    COUNT(member_id) AS cnt2,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    date_sent,
    date_order,
    (COUNT(member_id) -
    (Select Count( *)
    FROM oracjoc.email_alert_bounce_backs bb
    WHERE aa.journal_id = bb.journal_id
    AND aa.volume_id = bb.volume_id
    AND aa.issue_id = bb.issue_id
    AND aa.etoc_type = bb.etoc_type
    AND aa.date_sent = TO_CHAR(bb.date_sent, 'ddMonYYYY')
    )) delivered
    FROM
    (SELECT member_id,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    TO_CHAR(date_sent, 'ddMonyyyy') date_sent,
    To_Number(To_Char(Date_Sent, 'yyyymmdd')) Date_Order
    FROM oracjoc.Report_Issue_Alert
    WHERE Etoc_Type = '1'
    ) Aa
    GROUP BY Journal_Id,
    Volume_Id,
    Issue_Id,
    Etoc_Type,
    Current_Registered_Users,
    Date_Order,
    Date_Sent
    ORDER BY date_order DESC
    Oracle version:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production: I got failed result on this one
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production: sql was successfully executed.
    Can someone explain is this still a part of bug on non enterprise edition?, TIA!

    919272 wrote:
    Hi,
    I tried below sql on different database and I'm having a strange result.
    error is ORA-00979: not a GROUP BY expressionRead the full error message. It has also a row and a column number specified. Use this number to find out which column gives you the trouble.
    I see that there are several not needed date to char conversions. I could imaging that they confuse the query merge mechanism. Other than that: try to strip down the query to the smallest posisble set of colum combination. So that you can see where the error comes from.
    SELECT COUNT(*) OVER() CNT,
    COUNT(*) AS cnt2,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    date_sent2,
    (COUNT(*) -
      (Select Count( *)
        FROM oracjoc.email_alert_bounce_backs bb
        WHERE aa.journal_id = bb.journal_id
        AND aa.volume_id = bb.volume_id
        AND aa.issue_id = bb.issue_id
        AND aa.etoc_type = bb.etoc_type
        AND aa.date_sent2 = trunc(bb.date_sent)
        )) delivered
    FROM  (SELECT member_id, etoc_type, journal_id, volume_id, issue_id, current_registered_users,
           trunc(date_sent) date_sent2,
    FROM oracjoc.Report_Issue_Alert
    WHERE Etoc_Type = '1'
    ) Aa
    GROUP BY Journal_Id, Volume_Id, Issue_Id, Etoc_Type, Current_Registered_Users, Date_Sent2
    ORDER BY Date_Sent2 DESC

  • Is Possible Apply Expression in a Composition?

    I want to make a expression related to time duration of "MainComp".
    To the "MainComp" follow time duration of other Composition.

    Mylenium is right, you can't act on compositions with expressions.
    However, there are some workarounds.
    _you can precompose your comp and put an expression on it's timeRemap.
    _another solution is to add an adjustment layer on the top of your comp. On this adjustment layer, you can add a "time" effect (time distort for example) and link its timecode value via expression.
    First solution is the simplest and gives the best results, the second is only if you absolutly can't precompose.
    Cheers,
    François

  • How to install Oracle Express with different NLS_CHARACTERSET

    Hi,
    When I install Oracle 10g Express on my PC, the characterset is always set to AL32UTF8. For compatibility reasons, I need to have my db in the WE8ISO8859P1 characterset.
    How can I achieve this? I allready tried by installing both the Western Europe version as with the Universal version.
    Thanks for your help.
    Geert

    Hi,
    Thanks for the feedback although the problem is little bit weired.
    A colleague of me installed the express edition with the same setup files but did recieved the correct NLS_CHARACTERSET.
    I allready tried by using different regional settings but that didn't do the trick.
    Greetz,
    Geert

  • How do you assign a value to an expression in a composite component?

    Hi all,
    I have just started out on JSF 2.0 not too long ago. I am trying to create a composite component that can execute a method defined by the user and then assign the returned results to a bean, also defined by the user.
    Something like the one below:
    <composite:myComponent value="#{someBean.someProperty}"  action="#{someBean.someActionMethod}" />If its just executing the method, I have no problems with that. But I do not know how to assign the returned value. Can anyone enlighten me on how to execute the method in the component and then assign the returned value to the bean?
    Thank you.
    Edited by: honsho on Aug 4, 2010 1:36 AM

    I am not sure about that. Do you mean that all I have to do is provide the interface <cc:attribute name="value" type="lvl1.lvl2.someClass"/> and when I run the method, the returned result will be written into the expression provided in "value"?

  • Expressions with different data types

    hello
    I have an animated clock and a line on a chart that I want to animate together--hopefully all tied with expressions, to make easing across them very *easy*
    I've got the big hand and little hand of the clock linked up (pick-wipped rotation and multiplied * 12) but I'm wondering if I can do something similar for the line on the chart (in this case I'm animating the line with stroke>generate, but I'm open to suggestions)
    thanks!
    LML

    The type is decimal, the precision 16 and scale is 12.
     select SQL_VARIANT_PROPERTY(CAST(10 AS decimal(5,1)) / CAST(140 AS int),'BaseType') as Type
    ,SQL_VARIANT_PROPERTY(CAST(10 AS decimal(5,1)) / CAST(140 AS int),'Precision') as Precision
    ,SQL_VARIANT_PROPERTY(CAST(10 AS decimal(5,1)) / CAST(140 AS int),'Scale') as Scale
    The calculation for determining the scale of the result can be found here: 
    https://msdn.microsoft.com/en-AU/library/ms190476.aspx
    Basically it is max(6, s1 + p2 + 1) where s1 is the scale of the numerator and p2 is the precision of the denominator. 
    In your case max(6,1+10+1) = 12
    That said - it isn't something I ever worry about - you should always be casting your values to what is required to ensure a reliable result. 
    HTH. 
    Cheers
    LucasF

  • ORA-00936 Missing expression - error in composite statement

    I'm using the following statement to call a function which uses a number retrieved from a table i.e.
    SELECT GETNEXTBUSINESSDATE(TO_DATE('28/08/2003','dd/mm/yyyy'), TO_NUMBER(SELECT VALUE1 FROM PARAMETERS WHERE PARCODE = 'CCR1' AND ATTRIBUTE1 = 'CCRNRQST1')) FROM DUAL;
    The function adds the value store in the value1 field to a date to get the next buisness date. The above statement is giving me an ORA-00936 Missing expression error message.
    Can anybody help ?

    We can't pass a query as a parameter.
    You'll have to write a function that accepts PARCODE and ATTRIBUTE1 as parameters, or figure some other way of getting the value.
    As I typed that, it occurred to me that this might work:
    SELECT GETNEXTBUSINESSDATE(TO_DATE('28/08/2003','dd/mm/yyyy')
          , x.val1)
    FROM ( SELECT TO_NUMBER(VALUE1) as val1
           FROM   PARAMETERS
           WHERE PARCODE = 'CCR1'
           AND ATTRIBUTE1 = 'CCRNRQST1') x;I'm not guaranteeing anything as I've never tried running a function from an in-line view.
    Cheers, APC

  • 1 Computer - 2 Airport Express' - 2 Different Fx's?

    Hi there.
    Wondering if this is possible:
    1. Hook up an airport express to run wireless internet
    AND
    2. Hook up a 2nd airport express somewhere else in the house so I can send audio from iTunes to my stereo.
    I'd like to be able to have both items above active at the same time.
    Is this possible?
    Thanks,
    SparkyCanada

    Sure, the following is the basic steps to configure an AX to join a wireless network (and for iTunes streaming):
    Either connect to the AX's wireless network or connect directly, using an Ethernet cable, to the Ethernet port of the AX, and then using the AirPort Utility in "Manual Setup" mode, make the following changes:
    AirPort > Wireless
    o Wireless Mode: Join a wireless network
    o Network Name: <existing AX's wireless network>
    o Wireless Security: <select the encryption type of the existing wireless network>
    o Wireless Password: <enter the existing wireless network password>
    o Verify Password: <re-enter the existing wireless network password>
    Music
    o Enable AirTunes (checked)
    o iTunes Speaker Name: <enter desired speaker name>
    o iTunes Speaker Password: (optional)
    o Verify Password: (optional)
    o Click Update to write the new settings to the AX
    In iTunes:
    iTunes > Preferences... > Advanced > General
    o Look for remote speakers connected with AirTunes (checked)

  • Airport Extreme and Express at Different Locations

    I have a very basic question that I would appreciate help on.
    At our home I have an Airport Extreme that I use for wireless capability for my Powerbook, used primarily for internet surfing. In the summers we go to our "fish camp" where I would like to also have wireless capability. I have DSL at both locations. My question is can I purchase an Airport Express and have it work at our "fish camp" and leave my Airport Extreme at home and have it work when we return home? I would like to not have to move everything.
    Or, any other suggestions would be appreciated.
    Thank you so much.

    Yes, you can use the AirPort Extreme at home and the AirPort Express at the "fish camp."

  • ITunes Automatically Change EQ Setting Based On Which Airport Express Streaming?  I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different

    I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different EQ setting to sound just right. Does anyone know of a way to have iTunes automatically change its EQ setting based on which Airport Express it is streaming to?

    I'm in the same boat. I have a 6 zone amplifier running with 6 airport expresses to different rooms inside and outside the house. Each has it's own acoustic characteristics. I'd really love to be able to set each airport to equalize based on my SPL frequency sweep I did for each room.
    Setting the eq in itunes won't do it as that is global plus I have many more sources for auiod other than itunes that use the AEs directly.

  • Converting-expression-format-to-use-in-different-environment

    Hi,
    I am working on a POC project to automate migration of reports from one BI tool to another BI tool. Idea is to extract report column details along with column formula/expression and use it in another BI tool to generate report.
    For example syntax for if-else in one product is - "If Not(IsNull([col1])) Then 1 Else 0" and the equivalent expression in another product is -"if( col1 != null, 1, 0)"
    Please suggest an approach to convert an expression to different format to be used by different tool.
    Thanks
    Tilak

    exFAT would also be a supported format between the 2 operating system.
    NOTE:  FAT32 or exFAT is ONLY good for an external disk or USB Flash Drive that you are going to connect to one system, then disconnect and connect to the other.
    If you do not have a lot of data to transfer save at once (and it is not super sensitive), you might just consider getting a DropBox.com account and use the network to transfer your files.
    If the Mac and the Windows systems are on the same network, then you can also use file sharing from either system.

  • Get 4 audio channels out through SDI whit BlackMagic UltraStudio Express

    Hi,
    We have some issues with the Blackmagic UltraStudio Express and Premiere Pro.
    We need to get out 4 audio channels through SDI for different broadcast and news feeds. We can't do that with the UltraStudio Express on different Mac Book Pro (one on OS 10.9 and one on 10.8.5) with Premiere pro CC and Premiere pro CS6. (We have try with the driver 9.9.3 and 9.6.8). The only thing we manage to monitor out of the UltraStudio is 2 audio channels.
    We know it "could" work as :
    - We are able with the same setup to get 4 audio channels via FCP 7.0
    - We are able with a Mac Pro OS10.8.5 + Blackmagic Decklink HD Extreme 2 (driver 9.6.8) to get 4 audio channels with Adobe Premiere CC
    Do you have maybe a solution for this ?
    Have a nice day !
    Best regards
    Yann-David Urbanowicz

    You might ask in the Premiere Pro forum http://forums.adobe.com/community/premiere?view=discussions

Maybe you are looking for

  • Help with Mavericks crashes Photoshop CC & bugs with Illustrator CC?

    Have I missed an update specifically for CC users who have upgraded to Mavericks? Really wishing I had held off on the upgrade to the OS - luckily my CS4 is still compatible with the java update, however had just purchased the CC license, and wanted

  • How to get an iCloud email address?

    I want to get an iCloud email address (@icloud.com) for several reasons, among them: To streamline my iCloud account access so only that email is associated with iCloud & its services. To provide email between Apple (e.g. Apple Support) and myself To

  • Third party USB products and the Airport Extreme

    If I hook up a USB splitter to my Western Digital hard drive, then plug one USB into my Airport extreme and the other in my XBOX 360 will my files on my hard drive become available wirelessly for use on my computer and also be available to be retriev

  • How to use oracle.sql.* package?(in nls_charset12.zip)

    is there anyone could tell me how to use the method in this package? for i want to convert a character set from the database (solaris)default character set to the client(win2000) while storing data into ResultSet. or anyway that could chnage it would

  • Is there any way to play 1080p videos on the iPad with Retina Display without watching in full screen?

    When I watch 1080p videos from iTunes on my iPad, they are stretched to fit the whole screen (with black borders) even though there aren't enough pixels in the video. This means that the videos are not crisp as one would expect on a retina display, b