How can I pre-compose layers via AEGP?

Hello,
I would like my AEGP to put some of the layers of the active composition into a pre-composition. Well, the far way I can think of would be to create a new composition, add it to the existing composition, add the footage items of all layers I want to have in my nested comp in there and copy every one of the god knows how many streams, flags and effects to the layers inside the comp.
My question: isn't there an easier way to create nested compositions or at least copy layers with all their effects and so on to another place inside my project?

Thank you. But still, nothing works. I have no idea why.
I try to open a pre-composition I have just built and added to my main composition.
===============================================================
Here's my source code:
AEGP_Collection2H collection = NULL;
AEGP_CollectionItemV2 coll_item;
coll_item.u.layer.layerH = temp_layerH;
ERR(suites.CollectionSuite2()->AEGP_NewCollection(globP->my_id, &collection));
ERR(suites.CollectionSuite2()->AEGP_CollectionPushBack(collection, &coll_item));
ERR(suites.CompSuite5()->AEGP_SetSelection(main_compH, collection));
ERR(suites.CommandSuite1()->AEGP_DoCommand(3061)); //3061 = open selection
ERR(suites.CollectionSuite2()->AEGP_DisposeCollection(collection));
=============================================================
Where am I wrong? When I debug, every single line of code is done, but nothing seems to happen.

Similar Messages

  • How can I pre-define the default selection in a SelectOneChoice?

    How can I pre-define the default selection in a SelectOneChoice?
    (1) Here's my JSF-code:
    <af:selectOneChoice label="#{res['usercreate.input.sex']}"
    value="#{bindings.Sex.inputValue}"
    binding="#{SelectListBean.sexlist}"
    readOnly="false" autoSubmit="false">
    <af:selectItem label="#{res['data.sex.women']}" value="1"/>
    <af:selectItem label="#{res['data.sex.man']}" value="2"/>
    </af:selectOneChoice>
    (2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
    import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
    public class MBSListBean {
    private CoreSelectOneChoice sexlist;
    public MBSListBean() {
    public void setSexlist(CoreSelectOneChoice sexlist) {
    this.sexlist = sexlist;
    this.sexlist.setValue(1);
    public CoreSelectOneChoice getSexlist() {
    return sexlist;
    (3) when i launch the page, it often gives me such warnings:
    WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
    how to solve the problem ?
    Thanks,
    wzzdx

    You could also set the default on your entity or viewobject, in the properties of your attribute.

  • How can i stream some files via my macbook pro

    how can i stream some files via my macbook pro and my WD TV LIVE

    Which email client are you using & which version?   Your emails are not appearing in the email trashcan? 

  • How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

    I am a new user for  labview.I develope my program with FP 2000 but I have some problem
      1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
      2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
         Can I dial modem and browse file in FP 2000 same as use Ethernetport?
    Someone please help me.Thank you very much.

    Hi!
        First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).
        Anyway, I would say that in your project you should proceed like this:
          1) Configure your FP 2000 module via MAX and ethernet connection;
          2) Download an embedded application to your module (build in LabView Real-Time)
          3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.
        The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.
       I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.
       I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).
        For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).
        About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.
        To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!
       So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).
        To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).
       Please, let me know if this helps......
        Have a nice (programming) day!
    graziano

  • How can I turn off charging via usb of my iphone 4s when I connect it to my computer?

    how can I turn off charging via usb of my iphone 4s when I connect it to my computer?

    You cannot.
    Why would you want such a thing?

  • How can I send & recieve SMS via Mac ?

    How can I send & recieve SMS via Mac ?
    Handoff is already working fine between my iPhone 5 & Mac, I want to know how I can send & recieve SMS using my MAC

    Thank you so much
    I have another problem please:
    Handoff is working perfectly between my iPhone 5 & my Macbook pro, I also can receive calls on my mac and iPhone 5 at the same time, but when I try to make calls from my laptop it says that message:
    I am already using the same account for both of them

  • How can I automatically forward tweets via ios6 to Linkedin?

    How can I automatically forward tweets via ios6 to Linkedin?

    Login to your account via webmail and look for forwarding options.
    It's not something you do within Thunderbird.
    ''so that I can read them if necessary while I am on holiday''
    What difference does it make to read them from another account than your ordinary one when being on holiday?
    ''lost all my e-mails and history while my computer crashed''
    Make sure to backup your Thunderbird profile on a regular basis.
    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Backing_Up_and_Restoring
    ''I don't know how to install my e-mail on my smartphone''
    Ask someone for help who knows.
    ''set up an automatic message when I am on holiday''
    https://support.mozilla.org/en-US/kb/vacation-response

  • How can I re-install lion via usb drive on my new mba(mid-2011)?

    how can I re-install lion via usb drive on my new mba(mid-2011)?
    I just removed all data from main hd, and my network is not good enough to be able to download the os via recovery hd re-installing way.
    in other words, is there a bootable [mac os x lion dmg] for my mba that I can download?

    If you are looking for a download link for OS X Lion, I do not know of one. However if you really need the operating system you can buy a USB drive with OS X Lion on it, ready to boot. I think they're $69 at Apple's store. What I would do is contact AppleCare via the Express Lane or just call them and tell them your situation and then they will definantly have an answer for you to point you in the right direction. 
    Good luck!

  • How can i access dmz server via public ip from inside?

    hi all !
    As shown in Figure,how can i access the server in dmz zone via public?
    i can access it via private ip 192.168.1.1 now,but i can't access it via 101.100.1.2.
    who can help me ?
    thank you !

    Hi,
    You would have to configure Static NAT from DMZ to INSIDE for the server in the same way you have done for DMZ to OUTSIDE.
    Basically in the following way for example
    object network DMZ-WEB
    host 192.168.1.1
    nat (dmz,inside) static 101.100.1.2
    This would enable your users on the "inside" to access the "dmz" server with the public IP address. And naturally only with the public IP address after this NAT.
    Hope this helps
    Please do remember to mark a reply as the correct answer if it answered your question.
    Feel free to ask more if needed
    - Jouni

  • How can i share a video via email?

    how can i share a video from iMovie 09 (8.0.6) via email?
    I have tried saving to desktop and attaching by even my 1 minute clip will not go through.

    geraldinefromab wrote:
    Yes, the file size is too large.  I am able to email photos through iphoto so i was hoping i'd be able to do the same with imovie....
    So it was your mail server limitations.  Well, as I said, that's what these media sharing services are for.
    It depends on the service, but generally up to about 1GB can be uploaded for free.  You are given a unique and private url of the upload which you give to people who you want to allow to download it.  They can then download the file you uploaded (again for free). 
    When you do the upload you are also given instructions on how to delete your upload if you wish.  It's usually another url.  Then you can delete it later if you wish or just leave up there as long as you want.
    The only restrictions on using these services for free (other than the max file size) is that most will throttle down the download speed and limit how soon you could do two downloads back to back.  Also they ask for a capcha.  Basically they try to be as annoying as possible to make you pay them for their service. 
    By the way, IMO, rapidshare is one of the most annoying of them all.
    I am not familiar with the one Matt Clifton is recommending.  It's probably is as good as any to choose.  As I said there are hundreds of them.  All have a similar paradigm (free vs. paid).  Google something like "sites like rapidshare" and you tons of them.

  • How can I receive Apple alert via iCloud mail system?

    Currently my login ID is the same as my Gmail address.
    So, my Apple alert (that lets me know about my account info change or new login) comes to my Gmail inbox.
    However, I want to receive these stuff via iCloud mail so that I can collect my Apple alert in my iCloud mailbox.
    How can I do this?
    I'm now using my iCloud mail address with my account of which name is my Gmail address.
    Or, if possible, I want to use only my iCloud mail address as my main ID and totally get rid of my Gmail address from my Apple account.
    Plz give me a tip.
    Have a nice day.

    If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  If you don’t know your password you can reset the password as explained here: http://support.apple.com/kb/PH2617.

  • HT5500 how can i post on facebook via ios?

    how can i post on facebook using IOS like for example "Im happy" via IOS

    First you have to install the FB app! At least on my new i5 with iOS 6.0.2, all the FB notification, push configuration and privacy controls are there, but if I touch any one, it tells me to install the app. Which I have not done as I won't pollute the phone with that time consuming and battery devouring distraction, but I digress.
    Same applies to Twitter. But the birdie is far less of a power hog.

  • Gifting an IPad, How can I pre-load Pictures?

    Hi all... Like the topic says, I'm gifting an IPad for Christmas, and I would like to load some pictures of good times and family onto it prior to giving it to them.
    I pre-ordered mine when they first came out, and cannot remember if you HAVE to use ITunes to "activate" it like the IPhone... If this is the case, then how can I go about getting it activated, and syncing photos onto it? They have an IPhone, so they already have an ITunes account... Or is it even possible?
    Thanks for any help/suggestions....

    Thank you Ralph.
    Will it cause any issues for them, when they go to sync it to their machines, being that I activated it with my account?
    I'm pretty sure they can just back it up, and or just copy the pictures(that I sync'ed) from the IPad, so that they can keep those pictures as well as load their own... I'm just unsure if there will be any issues when activating it with my account...
    Thanks again

  • How can I make FX layers independent.

    Hello. I recently had a project which I had two rectangle shapes. I put a bevel effect on one and then I went to add a different bevel to the other but the bevel on the first rectangle changed to match the settings of my second bevel.
    I finally had to rasterize the fx layer to commit to those changes and start a new bevel on my second shape.
    Im sure this is an easy fix. How can I get effects on different fx layers to act independently?
    NOTE: I was doing this on 2 unrasterized shapes. I don't know if that makes a difference.

    You failed to state what platform OS level and Phsotshop version your having the problem with.  I don't have that problem on Windows 7 Photoshop CC 2014.. Global Light is checked in these the bevel  however are not the same.

  • How can i deploy Dictionary Application via commandline

    Hi all,
       I can deploy Ear files via commandline using deploymanager command.
    Now my problem is how can i deploy the Dictionary Application via command line.
    regards,
    Ramu.

    Hi Rajesh,
       Thankyou again for your reply.
       I didn't understand the procedure you explained above , how to use sdm.bat and deploy with the options.
      Can u tell me in details how can i don this step by step.
    I am having one Dictionary Project with the structure as follows:
    HelloDictionary1
    ->bin
    ->gen_ddic
    ->Model Folder
    ->src
    ->.classpath
    ->.metamodel
    ->.project
    ->.tssapinfo
    ->HelloDictionary1.sda
    Can u tell me arguments for the sdm.bat and how to run the deploy command in detail.
    Thankyou,
    Ramu.

Maybe you are looking for

  • Using more than 256 colors in 3D graph?

    Hi, I am using 3D surface plot in Labview 6.i and I would like to know if it is possible to use more than 256 colors (in the Z-scale). Actually I would like to have very smooth change in the color map and this could be possible if we could use 16bit

  • Having trouble getting my movie clips to my Mac...

    Hello! I recently bought my first Macbook (Macbook Pro), my old notebook being a Vaio. My mom is using my old one, so to clear up memory for her, I'm trying to move all of my important files to the Mac. I burnt a bunch of pictures and documents to a

  • Help! PreparedStatement

    Hi, i'm currently working a JSP which gets an user input of a preparedStatement which looks like this: "SELECT * FROM EMPLOYEE WHERE FirstName=? AND LastName=? AND City=?" How can i get to another JSP page to ask the user to enter their values (For F

  • Which exception should I throw?

    For my program I created a simple parser class that will parse files in my custom file format for certain values. What exception should I throw if the specified value is not found in the file?

  • Prime 2.0 Update SSH Credentials

    Hello Everyone! I am currently trying to find a way to update all SSH Credentials in Cisco Prime 2.0.  I can not seem to find it anywhere in prime or any information about it on the web and admin guide. Is this a feature that is missing or am I just