Loading U3D via JS

Hi;
     I tried to find in the forums but didn't find anything that worked.
     I have some u3d files attached to my pdf and I want to load them in the same annotation depending on the user input.
     I know how to reference them but i dont know how to load and render them in the same 3d annotation.
     Is it possible doing this via javascript? If so, how?
Thanks

The scene.addModel method adds an attached U3D resource as a model into the scene. It essentially merges the content of the new model with the existing scene. Here'e some source code:
// Create a new Resource with the file's URI as the argument
modelResource = new Resource( "pdf://sphere.u3d" );
// use Scene method "addModel" with Resource as an argument,
// returns top level node from loaded 3D file
model = scene.addModel( modelResource );
(Make sure to prefix the URI for the resource with "pdf://".)
if you are using Acrobat 9, you can attach resources to 3D annotations in the 3D annotation's properties dialog. Otherwise, if you are using Acrobat 8 or earlier, then follow the instructions on the following page to attach the resource:
http://graysonlang.com/acrobat3d/attach3dresource/
Grayson

Similar Messages

  • Loading Facelets via ResourceHandler

    Hi there,
    can anyone tell me what's the main difference between JSF 2.0/2.1 and JSF 2.2 regarding to "Loading Facelets via ResourceHandler".
    I searched many articles and discussions and regarding to Flows and reosource library contracts there are some thinks that are not really clear to me and might be still in discussion
    In my opinion facelets and resources are loaded the same way now. The loading mechanism is unified now. But what does this mean.
    Are Resources within the Facelets or Views are loaded relative to their path now ?
    E.g. a view located in /x/y/z/view.xhtml will load its resources from /x/y/z/css/style.css when using <link type="text/css" href=css/style.css"/> and not from the resources folder ?!
    It would be very helpful for me if anyone could provide a simple example or a link where i can the right information, because it's one of the 6 big ticket features ed burns is mentioning in every article and presentation i saw, but the background is not completly clear for me :-/
    Thanks in advance!
    Kind regards,
    Jannis
    Edited by: 988043 on Feb 14, 2013 1:49 AM

    Tank you Eddy, but it seems it does not work.
    The error message received from DTW is:
    - <BOM>
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>66</Object>
      <Version>2</Version>
      </AdmInfo>
    - <ProductTrees>
    - <row>
      <TreeCode>A00001</TreeCode>
      <Quantity>1</Quantity>
      <TreeType>iProductionTree</TreeType>
      </row>
      </ProductTrees>
    - <ProductTrees_Lines>
    - <row>
      <Currency>USD</Currency>
      <IssueMethod>im_Backflush</IssueMethod>
      <ItemCode>A00006</ItemCode>
      <Price>160</Price>
      <PriceList>1</PriceList>
      <Quantity>3</Quantity>
      <Warehouse>01</Warehouse>
      </row>
    - <row>
      <Currency>USD</Currency>
      <IssueMethod>im_Backflush</IssueMethod>
      <ItemCode>S10002</ItemCode>
      <Price>160</Price>
      <PriceList>1</PriceList>
      <Quantity>3</Quantity>
      <Warehouse>01</Warehouse>
      </row>
      </ProductTrees_Lines>
      </BO>
      </BOM>
      <ErrorMessage>A00001 - Errore definito dall'applicazione o dall'oggetto</ErrorMessage>
      </BOM>

  • Hi everyone i tried to modify BCA so i can use a usb to load windows via BCA but now it doesn't load when i double click it!?

    i tried to modify BCA so i can use a usb to load windows via BCA but now it doesn't load when i double click it!? any ideas?

    iv solved it now

  • Loading dimension via plsql

    Hi
    I am trying to create a dimension and load it via plsql and am able to create dimension and its corresponding table in database.I am quite unsure of how to load the dimension D_OFF from an equivalent relational table R_OFF
    I have a dimension D_OFF with following structure.
    Hierarchy:OFFKEY is child of OFF30 is child of OFF20 is child of OFF10
    Levels -->Attributes
    OFF10 ID--> CD ,DSCR
    OFF20 ID -->CD ,DSCR
    OFF30 ID-->CD ,DSCR
    OFFKEY ID-->CD,DSCR,UPDATE BY,UPDATE_DATE,CREATE BY, CREATE_DATE
    I have created the dimension and the table structure in the database and are as follows
    CREATE DIMENSION D_OFF
    LEVEL "OFF10" IS "OFF10_ID"
    LEVEL "OFF20" IS "OFF20_ID"
    LEVEL "OFF30" IS "OFF30_ID"
    LEVEL "OFFKEY" IS "OFFKEY_ID"
    HIERARCHY "STANDARD" (
    "OFFKEY" CHILD OF
    "OFF30" CHILD OF
    "OFF20" CHILD OF
    "OFF10"
    ATTRIBUTE "OFF10" DETERMINES ( "OFF10_CD", "OFF10_DSCR" )
    ATTRIBUTE "OFF20" DETERMINES ( "OFF20_DSCR", "OFF20_CD" )
    ATTRIBUTE "OFF30" DETERMINES ( "OFF30_DSCR", "OFF30_CD" )
    ATTRIBUTE "OFFKEY" DETERMINES ( "OFFKEY_DSCR", "UPDATE_DATE", "OFFKEY_CD", "UPDATE_BY", "CREATE_DATE", "CREATE_BY" )
    CREATE TABLE "D_OFF"
    ( "DIMENSION_KEY" NUMBER NOT NULL ENABLE,
    "OFF10_ID" NUMBER,
    "OFF10_DSCR" VARCHAR2(200),
    "OFF10_CD" VARCHAR2(500),
    "OFF20_ID" NUMBER,
    "OFF20_CD" VARCHAR2(500),
    "OFF20_DSCR" VARCHAR2(200),
    "OFF30_CD" VARCHAR2(500),
    "OFF30_DSCR" VARCHAR2(200),
    "OFF30_ID" NUMBER,
    "UPDATE_DATE" DATE,
    "CREATE_DATE" DATE,
    "UPDATE_BY" VARCHAR2(250),
    "OFFKEY_ID" NUMBER,
    "CREATE_BY" VARCHAR2(250),
    "OFFKEY_CD" VARCHAR2(500),
    "OFFKEY_DSCR" VARCHAR2(200),
    CONSTRAINT "OFFE_DIMENSION_KEY_PK" PRIMARY KEY ("DIMENSION_KEY")
    My source table is
    CREATE TABLE "R_OFF"
    ( "DIMENSION_KEY" NUMBER NOT NULL ENABLE,
    "OFF10_DSCR" VARCHAR2(200),
    "OFF10_CD" VARCHAR2(500),
    "OFF20_CD" VARCHAR2(500),
    "OFF20_DSCR" VARCHAR2(200),
    "OFF30_CD" VARCHAR2(500),
    "OFF30_DSCR" VARCHAR2(200),
    "UPDATE_DATE" DATE,
    "CREATE_DATE" DATE,
    "UPDATE_BY" VARCHAR2(250),
    "OFFKEY_ID" NUMBER,
    "CREATE_BY" VARCHAR2(250),
    "OFFKEY_CD" VARCHAR2(500),
    "OFFKEY_DSCR" VARCHAR2(200),
    Could you please let me know how to load the dimension via plsql.
    Best Regards,
    Sri

    I assume you're quite sure that the relevant dimension does at least sometimes get updated by the build process, and that you've searched the outline just in case the member was added somewhere you didn't expect.
    How is the data pulled in to the load rule? If it's from a relational database, check the SQL query used to extract it (could there be a WHERE clause restricting records)? If it's from a flat file, check the select / reject criteria set up in the load rule.
    Another possibility is that your load rule is set up to skip X lines at the beginning, and the new member appears there.
    You could build a brand new load rule against a test copy of the cube and confirm that ABC does build in successfully (that at least tells you that the problem is in your rule somewhere).

  • Load balancing via CHOC12/STS3

    Hi, our customer has a connection between 2 x 12012 via the 4 embedded channels of CHOC12/STS3 module.As every subinterface has its own ip-subnet we have 4 equal paths to every destinations.
    Customer wants to configure dCEF per-packet load balancing and is concerned if he can get packet sequence problems for his VoIP applications like it may happen on 'normal' equal path cost connections when load balancing per-packet instead of per-destination.
    Does anybody know if this can be a concern on the embedded channels ?
    Regards Guenther

    Generally speaking, for a given source-destination pair, with Per-packet load balancing enabled, packets might take different paths which could introduce reordering of packets. Thus Per-packet load balancing is inappropriate for voice over IP traffic and also for certain other types of data traffic that require packets received to be in sequence. For more information please see
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_configuration_guide_chapter09186a00800ca62c.html#3589. Whether the CHOC12/STS3 module has some special meachanism built in to take care of this is unknown to me. Per-packet load balancing via CEF is not supported on Engine 2 Gigabit Switch Router (GSR) line cards (LCs).

  • When you load Windows via Boot Camp Assistant program and run Windows does not recognize the "usb" outlets cannot identify the device through the Dvd or flash

    When you load Windows via Boot Camp Assistant program and run Windows does not recognize the "usb" outlets cannot identify the device through the Dvd or flash

    Did you install BC drivers on the Windows side?

  • [svn:osmf:] 14580: Commit example showing how to perform additional load logic via a ProxyElement .

    Revision: 14580
    Revision: 14580
    Author:   [email protected]
    Date:     2010-03-04 09:28:35 -0800 (Thu, 04 Mar 2010)
    Log Message:
    Commit example showing how to perform additional load logic via a ProxyElement.  The AsynchLoadingProxyElement (and its corresponding LoadTrait) load the proxied element, but doesn't expose its READY state to the outside world until it performs its own load operation (in this case it just runs a Timer).  Include minor fix to other example.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/VideoProxyE lement.as
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/AsynchLoadi ngProxyElement.as
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/AsynchLoadi ngProxyLoadTrait.as

    Nope, what for?
    If you know what you are doing and you discharge yourself there is no need for such.
    BTW, those bands are not that safe, if you use them wrongly you can electrocute yourself pretty easily

  • HFM - log that shows if a user has loaded data via web form or excel load.

    I can see any data loads that are coming from FDM, but is there a log that shows any data entered into HFM via web forms or submitted through an excel file? Any input is appreciated.
    Thanks

    You could enable Data Audit to capture data changes made by users, though this will not capture which method users chose to change the data. That is, HFM can show that data changed, and who changed it, but cannot tell whether the data was changed through a form, grid, smart view, or FDM. If you want to prevent users from changing data through forms, grids, or smart view, you can secure those input methods, but you cannot capture which one is used.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Loading hierarchy via program

    Hi BI Gurus,
    I have a requirement. There are set of document number.
    I have created a "Document number" infoobject. Have loaded master data into them.
    Now i have a display attribute called "user name".
    I need to created hierarchy for the infoobjct, it must be of the form that under every user we must have the document number created by him. Is that possible? Second  i need to load the hierarchy from a Z* program. The program should take the user id and the document numbers created by him and then update the hierarchy. Is this possible? (i think the program can be modified just to update the 'H' table via ABAP statements, will that work? )

    Hi DPN,
    Loading hierarchy from FF
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
    Regards,
    Anil

  • Loading data via ftp

    Hi,
    From my reading of XML Db papers, it seems to indicate to me, that it is possible to load XML datafiles via ftp.
    Please could someone give me an example of how this would be done, as I cannot find a concrete
    example in the documentation.
    Thanks for your attention.
    Pete

    C:\>ftp
    ftp> open localhost 2100
    Connected to mdrake-lap.
    220 mdrake-lap FTP Server (Oracle XML DB/Oracle9i Enterprise Edition Release 9.2
    .0.1.0 - Production) ready.
    User (mdrake-lap:(none)): scott
    331 pass required for SCOTT
    Password:
    230 SCOTT logged in
    ftp> cd public
    250 CWD Command successful
    ftp> mkdir test
    257 MKD command successful
    ftp> cd test
    250 CWD Command successful
    ftp> pwd
    257 "/public/test" is current directory.
    ftp> put c:\temp.txt temp.txt
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 305 bytes sent in 0.00Seconds 305000.00Kbytes/sec.
    ftp> get temp.txt -
    200 PORT Command successful
    150 ASCII Data Connection
    Hello
    This is a simple text file.....
    It is stored in the Resource View, If it were a schema based XML file, and the
    Schema had been registered with XML DB, then the Resource View would contain a
    reference to a row stored in the default table identified by the XML Schema.
    Does this help...
    226 ASCII Transfer Complete
    ftp: 305 bytes received in 0.03Seconds 10.17Kbytes/sec.
    ftp> quit
    221 QUIT Goodbye.
    C:\>sqlplus scott/tiger
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jun 24 12:54:27 2002
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> set long 10000
    SQL> select xdburitype('/public/test/temp.txt').getCLob() from dual;
    XDBURITYPE('/PUBLIC/TEST/TEMP.TXT').GETCLOB()
    Hello
    This is a simple text file.....
    It is stored in the Resource View, If it were a schema based XML file, and the
    Schema had been registered with XML DB, then the Resource View would contain a
    reference to a row stored in the default table identified by the XML Schema.
    Does this help...
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    C:\>

  • Chart dataTipFunction and loading data via HTTPService

    Hi everyone,
    I have a problem and I hope someone is able to give me a hint.
    I am using a chart with data points. At the moment I am using a datatipFunction in order to give each point a "tooltip".
    Now I need the ability to load some data via httpservice and display this as tooltip instead of the original value while being over a point.
    It is needede because of a lot of data and a continuous minimal change of its values. I don't want to reload every possible data. Only examined datatips should be updated.
    mouse over datapoint --> tooltip: "please wait, while updating" --> httpservice finished --> tooltip: "new data xyz"
    The datatip function only returns a string, that is displayed as tooltip. If the datatip function calls a httpservice, how can I update that tooltip text?
    Any ideas?

    Hi everyone,
    I have a problem and I hope someone is able to give me a hint.
    I am using a chart with data points. At the moment I am using a datatipFunction in order to give each point a "tooltip".
    Now I need the ability to load some data via httpservice and display this as tooltip instead of the original value while being over a point.
    It is needede because of a lot of data and a continuous minimal change of its values. I don't want to reload every possible data. Only examined datatips should be updated.
    mouse over datapoint --> tooltip: "please wait, while updating" --> httpservice finished --> tooltip: "new data xyz"
    The datatip function only returns a string, that is displayed as tooltip. If the datatip function calls a httpservice, how can I update that tooltip text?
    Any ideas?

  • Catalyst 3550: Loading IOS via TFTP from ROMmon?

    Hi everybody,
    I need to load an IOS from ROMmon-mode to a Catalyst 3550.
    Of cause I could do that via xmodem but I thought it should also be possible via TFTP.
    What I did:
    switch: IP_ADDRESS=192.168.1.1
    switch: IP_SUBNET_MASK=255.255.255.0
    switch: TFTP_SERVER=192.168.1.2
    switch: TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
    switch: DEFAULT_GATEWAY=192.168.1.1
    switch: set
    BOOT=tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
    DEFAULT_GATEWAY=192.168.1.1
    IP_ADDRESS=192.168.1.1
    IP_SUBNET_MASK=255.255.255.0
    MAC_ADDR=00:0F:90:7F:B1:00
    MODEL_NUM=WS-C3550-48-SMI
    MODEL_REVISION_NUM=L0
    MOTHERBOARD_ASSEMBLY_NUM=73-5701-09
    MOTHERBOARD_REVISION_NUM=A0
    MOTHERBOARD_SERIAL_NUM=CAT08130PUT
    POWER_SUPPLY_PART_NUM=34-0967-02
    POWER_SUPPLY_SERIAL_NUM=DTH08094HH7
    SYSTEM_SERIAL_NUM=CAT0813Z29A
    TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
    TFTP_SERVER=192.168.1.2
    switch: boot tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
    Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
    Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
    Interrupt within 5 seconds to abort boot process.
    Boot process failed...
    switch: boot
    Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
    Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
    Interrupt within 5 seconds to abort boot process.
    Boot process failed...
    Am I doing something wrong or is it generally impossible to load an IOS via TFTP to a 3550?
    Thanks in advance
    Rolf

    I am pretty sure you can't boot from a TFTP server with the Catalyst 3550 (or any of the other standalone access switches - 2950, 3550, 3560 3750 etc). If you want to recover one you need to recover it using XModem via the console:
    http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
    I used to think you had to do this at 9600-baud, however you can increase the baudrate and it only takes 10-20 minutes (I couldn't get 115200 to work but 57600 worked OK and took about 20-minutes).
    You need to remember to put the baud rate back to 9600 when the image is back on as it gets stored in NVRAM and reboots etc are at the stored speed (i.e. changing it after it has booted under the line con 0 doesn't get saved to NVRAM).
    HTH
    Andy

  • IPSec (transport mode) load balancing via CSM

    Suppouse that there is two servers providing service for remote aplications. Those aplications using IPSEC in transport mode. I would like to put at front CSM to load-balance beetwen both of them (persist via SRC IP is ok for me).
    Have you any expirience with transort mode? IMHO it is not possible becouse of ip header changes? (I have no exact informatin that resign from AH transforms are possible)
    What when changing to tunnel mode. Have you ever seen that configuraion working?

    I think you can for the transport mode. I have not had any luck with the Tunnel mode.

  • How To View and Load U3D Files

    I use a CAD program that makes U3D files.
    Is there a decent way to use Acrobat Reader to load and view these files?
    Thanks
    Zvi

    Reader ONLY opens PDF files.Nothing else.

  • How could I load image via a Form when it is in runtime by not using default block

    1. How could I load image from my local computer to the database via a Form when it is in runtime?
    2. And how to display the image stored in the database on a Form ?
    Thanks buddy ~
    A nice member answered this question already, but I want to know how could I do it by using manual create block instead of using database item directly~
    Could anyone help me pls~

    This is the only way I know right now:
    1) Create this table
    SQL> desc av_data
    Name Null? Type
    BLOB_ID NOT NULL NUMBER(10)
    BLOB_TYPE NOT NULL VARCHAR2(10)
    DESCRIPTION NOT NULL VARCHAR2(25)
    BLOB_DATA LONG RAW
    2) On form create a button with this 'when-btn-prssed' tgr:
    DECLARE
         v_dirname          VARCHAR2(255);
         v_filename          VARCHAR2(255);
    BEGIN
         v_dirname := 'C:\';
         v_filename := get_file_name(v_dirname, NULL,
         'Bitmap file (*.bmp)|*.bmp|'                    ||
         'JPEG file (*.jpg)|*.jpg|'          );
         IF v_filename IS NOT NULL THEN
    read_image_file(v_filename, 'ANY',
    'av_data_image.blob_data');
         END IF;
    END;     
    3) Add this pre-insert trigger too :
    :av_data_image.blob_type := 'IMAGE';
    Sorry if this is not exactly the answer you're looking for.
    Bob

Maybe you are looking for

  • How Do I Move Aperture 3 License to new iMac?

    Well, I got a new iMac and I moved everything from my MacBook to it via Time Machine, but I can't use Aperture. It says I need a serial, but when I enter the one on the box, it says it's not valid. I do have Aperture on my MacBook

  • DATA_LENGTH in all_tab_columns in BYTE/CHAR???

    Hi in the Oracle 11gR2 or 10gR2 documentation you find the following description of ALL_TAB_COLUMNS.DATA_LENGTH. DATA_LENGTH      NUMBER      NOT NULL      Length of the column (*in bytes*)But what about VARCHAR2 fields which have been created with N

  • Exporting Canon XHA1 from final cut pro?

    I have a problem with my export. my footage plays fine in my browser when playing on final cut pro (before export). i have been exporting for YOU TUBE as a quick time conversion (mp2 & mp4) but when i play it back the footage cant keep up with the so

  • Acrobat X page shows small page image at top right of screen. Need to remove

    Acrobat X on Windows 8.1.  Recently Acrobat has started showing a small representation of the current page at the top right of the screen. I don't need this and would like to kill it permanently in all files. For example apart from blocking some text

  • Peoplesoft Project migration from version(PT8.48) to lower version(PT8.45)

    Hi all I would like to know the migration of a project from higher version to lower version for example PeopleTools 8.49 or 8.48 to PeopleTools 8.43 or 8.44 or 8.45 and the application HR 9.0 or8.9 to HR8.8 Any idea of this ! Look forward to here you