3D Model Size

Hi,
With this script i want to find out the size of 3d model. But it does not work correctly: some models has the same size like in 3d program, other has a diferent size. Specialy by models with more than 1 mesh is the size calculation not corect. What is wrong on my script?
  myworld = member("3dmember")
  myworld.model (1).addModifier(#meshdeform)
myvertexlist = (myworld.model[1].meshdeform.mesh[1].vertexlist)
  maxmin = [myvertexlist.max().x,myvertexlist.min().x,myvertexlist.max().y,myvertexlist.min().y,myve rtexlist.max().z,myvertexlist.min().z]
    repeat with n = 1 to myworld.model[1].meshdeform.mesh.count
    Nvertexlist = (myworld.model[1].meshdeform.mesh[n].vertexlist)
    if Nvertexlist.max().x > getAt(maxmin, 1) then
      setAt maxmin, 1, Nvertexlist.max().x
    end if
    if Nvertexlist.min().x < getAt(maxmin, 2) then
      setAt maxmin, 2, Nvertexlist.min().x
    end if
    if Nvertexlist.max().y > getAt(maxmin, 3) then
      setAt maxmin, 3, Nvertexlist.max().y
    end if
    if Nvertexlist.min().y < getAt(maxmin, 4) then
      setAt maxmin, 4, Nvertexlist.min().y
    end if
    if Nvertexlist.max().z > getAt(maxmin, 5) then
      setAt maxmin, 5, Nvertexlist.max().z
    end if
    if Nvertexlist.min().z < getAt(maxmin, 6) then
      setAt maxmin, 6, Nvertexlist.min().z
    end if
  end repeat
  SizeX = getat (maxmin, 1) - getat (maxmin, 2)
  SizeY = getat (maxmin, 3) - getat (maxmin, 4)
  SizeZ = getat (maxmin, 5) - getat (maxmin, 6)
  put SizeX * 2.54
  put SizeY * 2.54
  put SizeZ * 2.54
Thanks for any ideas.

even-1 wrote:
Imagine scenario: you import wrong scaled model into 3d world, you know the real sizes(height, width, length) of the model. Which scale factor you need to correct the model size?
I never had to deal with that scenario in the past 10 years.
Simply because I own the sources of the 3D models.
A W3D file is not a source file and Director Shockwave is not a 3D modeler.
cheers

Similar Messages

  • Maximum model size of 32k reached

    Hi
    I've reached the maximum model size of 32k.
    The problem is that the dashboard I'm creating is still only a fifth of what the final solution will be.
    So now I'm trying to think of ways to split the model into five models. And hopefully still maintain communication between the models.
    Anyone have any ideas?
    My thoughts this far is to have a "main" model that implements four other models through the "HTML view".
    The best solution would be to implement the other models as external IViews but I don't know if it's possible.
    BR
    //Robin

    Hi Michael
    I think I'm not explaining my problem properly
    I have created my model in the way that you described it. But it's just One model. And it's growing too big. Compilation is taking too much time and I sometimes get the 32k error message.
    What I would like to do is to split the model into several models. Ex: 1 model with navigation and 1 model for each view. But I dont know how to do this.
    I know that I could have 2 models in separate IViews in a portal page that could communicate through events. But I don't know how to put 2 IViews on top of each other and toggle between them.
    What I hope will be implemented in VC is the ability to create an IView that links directly to another precompiled model.
    BR
    /Robin

  • How to find the Model size in Semantics

    Hi All,
    Please can you tell me how to find the model size in Semantics.
    Thanks,
    Indu

    Hi,
    Instead of looking up the ID for the Entailment in DB_VIEWS you can better use MDSYS.SEM_NETWORK_INDEX_INFO
    For example:
    select name, type, id from MDSYS.SEM_NETWORK_INDEX_INFO;
    NAME TYPE ID
    MYMODEL MODEL 60
    MYMODEL_INF ENTAILMENT 69
    *** Space about the B-tree indexes on models and entailments ***
    Indexes created in RDF_LINK$ for a specific model:
    SQL> select name, type, id, index_name from MDSYS.SEM_NETWORK_INDEX_INFO;
    NAME TYPE ID INDEX_NAME
    MYMODEL MODEL 60 RDF_LNK_PCSGM_IDX
    FAMILY100 MODEL 59 RDF_LNK_PSCGM_IDX
    FAMILY100 MODEL 59 RDF_LNK_PCSGM_IDX
    FAMILY2 MODEL 56 RDF_LNK_PCSGM_IDX
    FAMILY2 MODEL 56 RDF_LNK_PSCGM_IDX
    FAMILY MODEL 57 RDF_LNK_PCSGM_IDX
    FAMILY MODEL 57 RDF_LNK_PSCGM_IDX
    OTHERMODEL MODEL 58 RDF_LNK_PSCGM_IDX
    OTHERMODEL MODEL 58 RDF_LNK_PCSGM_IDX
    0 NETWORK 0 RDF_LNK_PCSGM_IDX
    0 NETWORK 0 RDF_LNK_PSCGM_IDX
    MYMODEL_INF ENTAILMENT 69 RDF_LNK_PCSGM_IDX
    MYMODEL_INF ENTAILMENT 69 RDF_LNK_PSCGM_IDX
    Then get the size from DBA_SEGMENTS
    select bytes/1024/1024 MB, partition_name from dba_segments where segment_name in ('RDF_LNK_PSCGM_IDX','RDF_LNK_PCSGM_IDX');
    Specifically for our model 60 and Entailment 69:
    select bytes/1024/1024 MB, partition_name from dba_segments where segment_name in ('RDF_LNK_PSCGM_IDX','RDF_LNK_PCSGM_IDX') and partition_name in ('MODEL_60','MODEL_69');
    MB PARTITION_NAME
    192 MODEL_60
    192 MODEL_60
    60.0625 MODEL_69
    62.375 MODEL_69
    You would add them all for the size of the indexes

  • Problem with model size in Visual Composer

    Hello madam/sir,
    We are using ECC 5.0 and VC 700.8.0.1. We got error message during
    deployment "Error in compiling Flex application. Branch between 19217
    and 228774 around line 0 exceeds 32K". When we delete several blocks in
    the model, it works good. So tried to delete different blocks so we
    think that the problem is not with specific block but with model size.
    Our model is in one iView. We cannot use additional nested
    iViews because we have HTML View blocks that cannot be in
    nested iView (according to VC documentation). Is there any solution for
    this error? What does it mean?
    Best Regards,
    Sergey Kozyrev

    I agree with Ashutosh, you have to remodeling your model. You can also try to restart VC and deploy your model again, this might also help sometimes (I had sometimes the issue, that I removed any components and then I get the 32K error, after restarting the error disappeared).
    You can also check if you have any global entry list, which you do not use in your model, this also could help to reduce you model size.
    Best Regards,
    Marcel

  • Semantic model size

    Hello.
    I'm working with oracle 11g and Jena Adaptor for Oracle Database 11g Release 2.
    I'm trying a simple test that add triples:
    public void testAddTriples() throws Exception {
         Oracle oracle = new Oracle(jdbcUrl, null, null);
         GraphOracleSem graph = new GraphOracleSem(oracle, MODEL_NAME);
         for (int i=0;i<1000;i++) {
              Node sub = Node.createURI("http://test/s_" + i);
              Node pre = Node.createURI("http://test/p_" + i);
              Node obj = Node.createURI("http://test/o_" + i);
              Triple triple1 = Triple.create(sub, pre, obj);
              graph.add(triple1);
         graph.close();
         oracle.dispose();
    After running the previous test for several times, I have realized that depending on the method used to remove the triples the space of the tablespace is released or not.
    For instance, if I use the method "model.removeAll()" and then check the free space of the tablespace, I can see that the free space is greater than before, but, in the other hand, If I use the method "model.remove(model.listStatements())" the free space doesn't change... so when I run again the test "testAddTriples()" the disk space keep on growing.
    Any idea?
    Thanks in advance.
    Edited by: user9344030 on 15-mar-2010 10:19

    Hi,
    If you mean that your tablespace has grown from adding new triples and you want to reduce the size of the datafiles after removing those triples, then you could shrink the tablespace as discussed here:
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/
    About the second question, the number of rows in the application table grows because duplicates are allowed in the application table. Note that you will not get any duplicates back when you query them using SEM_MATCH of Jena Adapter - this is because of the RDF semantics - however, they are stored in the application table nevertheless. If you want to avoid storing duplicates, you could create a unique index on the application table.
    Cheers,
    Vladimir

  • SDO_RDF_MATCH() Query Performace on 10g - ontology model size-5000 triples

    Hi,
    We are observing severe degradation in the performance of the queries as their size increases? In this context, I want to know if the performance of the query is dependent on the query pattern size? For example, a query with 25 triples in the query pattern is taking nearly 10 secs, to retrieve results from a ontology of size 5000 triples. (no rule bases attached, no inferencing).
    Does using query API in Jena Adapter (instead of using sdo_rdf_match() directly) help improve the performance? Also, can u suggest any tuning on the ontology model for speeding up the query execution?
    Thanks,
    Rajesh.
    Edited by: rajesh narni on Oct 8, 2009 4:29 AM

    Please see my comments in the following post.
    Failing to execute large queries --> 11.1.0.7.0
    Cheers,
    Zhe Wu

  • Model size limit

    Hi,
    Is there any size limit for models to be deployed. I am currently working in BI sources with flex 2 compiler in VC 7.00 SP 15 . Compilation of one of the model is successfull buy deployment hangs at 85% .. Is there any space limitation with models ?? where can i check the deployment space consumed ?? ..what can be the reason for this
    Thanks
    Prashant

    Hi I got the following server log file which tells
    "Didn't find value to DLGFIND"
    "Didn't find value to HISTPORTALURL"
    "Didn't find value to HISTLOGINSERVER"
    Below is the part of log file . What does it mean .. any one having idea
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/vcserver/vc.log]/>
    <!PATTERN[vc.log]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[0, 10, 10485760]/>
    <!PREVIOUSFILE[vc.9.log]/>
    <!NEXTFILE[vc.1.log]/>
    <!LOGHEADER[END]/>
    #1.5 #001A4B064A70007800000041000015F600045100F253AE36#1214964414262#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to DLGFIND#
    #1.5 #001A4B064A70007800000043000015F600045100F253B17D#1214964414262#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to HISTPORTALURL#
    #1.5 #001A4B064A70007800000045000015F600045100F253B2D5#1214964414263#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to HISTLOGINSERVER#
    #1.5 #001A4B064A70007800000047000015F600045100F253B412#1214964414263#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to HISTFILESEARCH#
    #1.5 #001A4B064A70007800000049000015F600045100F253B563#1214964414263#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to STBLASTSESSION#
    #1.5 #001A4B064A7000780000004B000015F600045100F253B69C#1214964414264#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to STBLOGINDEV#
    #1.5 #001A4B064A7000780000004D000015F600045100F253B7C6#1214964414264#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to STBLOGINPWD#
    #1.5 #001A4B064A70006F0000002E000015F600045100F2774AC7#1214964416595#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8c2640b047db11dd8624001a4b064a70#SAPEngine_Application_Thread[impl:3]_29##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: LoginSession path is Public/PerformanceManagementDashboard/Mgmt_cockpit_final.mdl readOnly is Public/PerformanceManagementDashboard/Mgmt_cockpit_final.mdl#

  • How many pre ordered at 3:00 AM and what model size did you get?

    I just want to track how many people were on at 3:00 AM ordering and what size and color did you choose!

    Placed order @ 2:55 am. I received confirmation email @ 2:24 that say deliver on the 21st. Ordered black 32 GB. Card has not been charged yet, hope that happens tomorrow.

  • Problem with model ES1

    I hear annoying staticy and screeching noises when I'm scrolling up and down on a webpage or opening a new program. The trouble is the website doesn't seem to have any support of this product for some reason and the model number isn't even listed. If their is anything I could do to get rid of the sound or to update it so it stops that would be great.

    I agree with Ashutosh, you have to remodeling your model. You can also try to restart VC and deploy your model again, this might also help sometimes (I had sometimes the issue, that I removed any components and then I get the 32K error, after restarting the error disappeared).
    You can also check if you have any global entry list, which you do not use in your model, this also could help to reduce you model size.
    Best Regards,
    Marcel

  • What size monitor is recommended?

    My consulting Client creates a new edition of a regional newspaper every two weeks. Color is used for the 16" x 11.75" Front Page
    He organizes or creates: articles, photos, ads, classified ads, the usual. He has a PC shop, and accepts stories and photos from one or more reporters.
    He is planning to migrate gradually from Ventura Publisher (with Corel Draw & Photo) to the CS5 suite of products (InDesign, Photoshop, whatever else is useful) as he learns more. For this aspect I'm considering recommending a dual boot environment, as he currently runs XP in 32-bit mode. I prefer Windows 7 in 64-bit mode.
    He sends the color separated final version with regisration marks to his print vendor as a PDF.
    When open, the physical paper measures 23 wide x 16 tall.
    I feel like a 30" display will give him the space he needs for his publication, photos, ads, text, tool palettes, and the other applications windows needed such as Word. He doesn't want to waste his restricted money, and feels that his workflow now fits in 21" or so.
    If anyone out there is under regular deadline pressure and can make a recommendation (vendor, model, size), we would greatly appreciate some advice here. A memory recommendation would also be gratefully accepted. I'm thinking 8-12GB, though we have 3GB now.
    Thanks and Aloha!

    Thank you very much, Eric for your knowledgeable reply.
    Now I have another question, this time about the 1920 x 1222 screen size. Will this wide screen form distort typefaces in my docs created on a 1280 x 1024 monitor?
    Any comments on the Nvidia 460 or 480 card with the monitor you recommend?
    Thanks
    Bill Hill
    Date: Thu, 26 Aug 2010 08:57:22 -0600
    From: [email protected]
    To: [email protected]
    Subject: What size monitor is recommended?
    For a limited budget, you get a fairly versatile and decent quality monitor with the Dell UltraSharp U2410. At 1920x1200 pixels, there is ample room for document windows and palettes, plus it has an IPS panel which is highly desirable for serious photo editing and other colour-critical  work (such as soft-proofing – it's quite accurate once the monitor is properly calibrated and profiled with a hardware tool such as the X-Rite Eye-One Monitor 2 ).
    To take into account when considering a 30" TFT is the need for a graphic card equipped with a dual-link DVI port (single-link DVI does not provide enough bandwidth for 2560x1600 px resolution at 60 Hz) which can add to the already considerable total cost. Personally, I would prefer a better but smaller monitor over a bigger but mediocre one. Do stay clear of anything equipped with a TN type panel by all means; these are the cheapest and boast very fast response times (something totally irrelevant for print design) but a are IMHO a real nuisance to look at over longer periods of time (or at all if you are accustomed to an IPS-TFT).
    Eric
    >

  • Fatal error compiler limit : debug information module size exceeded ?

    Hy
    I try to compile a model, size 6 Mo.
    I can simulate it on my pc, but when I want to generate a dll with SIT I have a error fatal...
    fatal error C1067: compiler limit : debug information module size exceeded
    Do you have any idea ?
    Thanks
    FB

    Hi,
    Is this still linked to this thred? or do you still have the problem ?
    Regards.
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • SSAS Tabular model Performance Issue

    Hello,
    We have strange behavior with SSAS tabular model. The Model size is approx. 40GB in memory. Our production server has 200GB memory. Most of the users access the cube via Excel 2013 (64bit). We have been noticing that the performance starts degrading from
    the next day after the Analysis service has been restarted or the server rebooted. The day either one of them is performed we get good response but then the next day response times becomes 2 to 3 times more than on the 1st day. Is this something which anyone
    else has experienced. We are entering in a mode where we are required to restart the service almost everyday.
    Any help in this matter would be greatly appreciated.
    Thanks
    Deepak

    Why are you sure role based security is the culprit? Immediately after cube processing or immediately after ClearCache does the report perform fast for a user without any role based security filters? I would recommend reviewing the methodology on page
    35 of the tabular performance guide to see if it is a storage engine or formula engine bottleneck and report back.
    http://aka.ms/ASTabPerf2012
    http://artisconsulting.com/Blogs/GregGalloway

  • Error : com.iplanet.jato.model.ModelControlException: Location is beyond th

    Hi..All,
    I have a Page displayed with few values & one of them is of HREF type.The Model gets populated & I am able to view the data. When I click on the HREF value, I get an error :com.iplanet.jato.model.ModelControlException: Location is beyond the end of the current bean array (0 > -1)I tried setting the Bean Scope to "Any", "Request" , but it still gives me this error. The sys out in the constructor shows 0 for the size when the request comes in for the second time.
    Here is the JSP :
    package accruals.main;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.iplanet.jato.*;
    import com.iplanet.jato.command.*;
    import com.iplanet.jato.model.*;
    import com.iplanet.jato.view.*;
    import com.iplanet.jato.view.event.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import AccrualsEJB.*;
    public class TaxPackUserAccessView extends BasicTiledView {
    * Default constructor
    public TaxPackUserAccessView(View parent, String name) {
    super(parent,name);
    // setMaxDisplayTiles(5);
    System.out.println("The Model Name in the init before is : " +getPrimaryModel().getName());
    try {
    System.out.println("The model size in the init is : " + getPrimaryModel().getSize());
    } catch (Exception e) {System.out.println("Error in init " + e);}
    // Non-visual component initialization
    private com.iplanet.jato.model.SimpleModelReference taxPackUserAccess;
    * Creates the non-visual components
    * <p><em>WARNING:</em> This code was automatically generated, do not edit!
    private void initComponents(){
    taxPackUserAccess = new com.iplanet.jato.model.SimpleModelReference();
    { // begin local variable scope
    taxPackUserAccess.setModelClassName("accruals.main.TaxPackUserAccess");
    } // end local variable scope
    // Instance initializer - non-visual components
    initComponents();
    // Instance initializer - set properties
    this.setPrimaryModelReference(taxPackUserAccess);
    com.iplanet.jato.model.ModelReference[] autoRetrievingModelsVar =
    new com.iplanet.jato.model.ModelReference[0];
    this.setAutoRetrievingModels(autoRetrievingModelsVar);
    this.setMaxDisplayTiles(100);
    * Registers each child in this container.
    * <p><em>WARNING:</em> This code was automatically generated, do not edit!
    private void registerChildren() {
    registerChild(CHILD_EMP_NO, com.iplanet.jato.view.BasicDisplayField.class);
    registerChild(CHILD_NAME, com.iplanet.jato.view.BasicDisplayField.class);
    registerChild(CHILD_ADMIN, com.iplanet.jato.view.BasicDisplayField.class);
    registerChild(CHILD_SUPER_USER, com.iplanet.jato.view.BasicDisplayField.class);
    registerChild(CHILD_EMP_NO_SUMMARY, com.iplanet.jato.view.BasicCommandField.class);
    // Instance initializer - register children
    registerChildren();
    * Creates the named child.
    * <p><em>WARNING:</em> This code was automatically generated, do not edit!
    protected View createChildReserved(String name) {
    if (name.equals(CHILD_EMP_NO)) {
    com.iplanet.jato.view.BasicDisplayField child =
    new com.iplanet.jato.view.BasicDisplayField(this, CHILD_EMP_NO);
    child.setModelReference(taxPackUserAccess);
    com.iplanet.jato.model.ModelFieldBinding modelFieldBindingVar =
    new com.iplanet.jato.model.ModelFieldBinding();
    { // begin local variable scope
    modelFieldBindingVar.setReadFieldName("empNo");
    modelFieldBindingVar.setWriteFieldName("empNo");
    } // end local variable scope
    child.setModelFieldBinding(modelFieldBindingVar);
    child.setValue( "");
    return child;
    else if (name.equals(CHILD_NAME)) {
    com.iplanet.jato.view.BasicDisplayField child =
    new com.iplanet.jato.view.BasicDisplayField(this, CHILD_NAME);
    child.setModelReference(taxPackUserAccess);
    com.iplanet.jato.model.ModelFieldBinding modelFieldBindingVar =
    new com.iplanet.jato.model.ModelFieldBinding();
    { // begin local variable scope
    modelFieldBindingVar.setReadFieldName("name");
    modelFieldBindingVar.setWriteFieldName("name");
    } // end local variable scope
    child.setModelFieldBinding(modelFieldBindingVar);
    child.setValue( "");
    return child;
    else if (name.equals(CHILD_ADMIN)) {
    com.iplanet.jato.view.BasicDisplayField child =
    new com.iplanet.jato.view.BasicDisplayField(this, CHILD_ADMIN);
    child.setModelReference(taxPackUserAccess);
    com.iplanet.jato.model.ModelFieldBinding modelFieldBindingVar =
    new com.iplanet.jato.model.ModelFieldBinding();
    { // begin local variable scope
    modelFieldBindingVar.setReadFieldName("admin");
    modelFieldBindingVar.setWriteFieldName("admin");
    } // end local variable scope
    child.setModelFieldBinding(modelFieldBindingVar);
    child.setValue( "1");
    return child;
    else if (name.equals(CHILD_SUPER_USER)) {
    com.iplanet.jato.view.BasicDisplayField child =
    new com.iplanet.jato.view.BasicDisplayField(this, CHILD_SUPER_USER);
    child.setModelReference(taxPackUserAccess);
    com.iplanet.jato.model.ModelFieldBinding modelFieldBindingVar =
    new com.iplanet.jato.model.ModelFieldBinding();
    { // begin local variable scope
    modelFieldBindingVar.setReadFieldName("superUser");
    modelFieldBindingVar.setWriteFieldName("superUser");
    } // end local variable scope
    child.setModelFieldBinding(modelFieldBindingVar);
    child.setValue( "1");
    return child;
    else if (name.equals(CHILD_EMP_NO_SUMMARY)) {
    com.iplanet.jato.view.BasicCommandField child =
    new com.iplanet.jato.view.BasicCommandField(this, CHILD_EMP_NO_SUMMARY);
    child.setModelReference(taxPackUserAccess);
    com.iplanet.jato.model.ModelFieldBinding modelFieldBindingVar =
    new com.iplanet.jato.model.ModelFieldBinding();
    { // begin local variable scope
    modelFieldBindingVar.setReadFieldName("empNo");
    modelFieldBindingVar.setWriteFieldName("empNo");
    } // end local variable scope
    child.setModelFieldBinding(modelFieldBindingVar);
    return child;
    return super.createChildReserved(name);
    /** Returns the <code>empNo</code> child View component */
    public com.iplanet.jato.view.BasicDisplayField getEmpNoChild() {
    return (com.iplanet.jato.view.BasicDisplayField)getChild(CHILD_EMP_NO);
    /** Returns the <code>name</code> child View component */
    public com.iplanet.jato.view.BasicDisplayField getNameChild() {
    return (com.iplanet.jato.view.BasicDisplayField)getChild(CHILD_NAME);
    /** Returns the <code>admin</code> child View component */
    public com.iplanet.jato.view.BasicDisplayField getAdminChild() {
    return (com.iplanet.jato.view.BasicDisplayField)getChild(CHILD_ADMIN);
    /** Returns the <code>superUser</code> child View component */
    public com.iplanet.jato.view.BasicDisplayField getSuperUserChild() {
    return (com.iplanet.jato.view.BasicDisplayField)getChild(CHILD_SUPER_USER);
    /** Returns the <code>empNoSummary</code> child View component */
    public com.iplanet.jato.view.BasicCommandField getEmpNoSummaryChild() {
    return (com.iplanet.jato.view.BasicCommandField)getChild(CHILD_EMP_NO_SUMMARY);
    public static final String CHILD_EMP_NO = "empNo";
    public static final String CHILD_NAME = "name";
    public static final String CHILD_ADMIN = "admin";
    public static final String CHILD_SUPER_USER = "superUser";
    public static final String CHILD_EMP_NO_SUMMARY = "empNoSummary";
    public void handleEmpNoSummaryRequest(RequestInvocationEvent event) throws Exception {
    System.out.println("The Model Name is : " +getPrimaryModel().getName());
    setPrimaryModel((DatasetModel)getDefaultModel());
    System.out.println("In Because of the link :" +((TiledViewRequestInvocationEvent)event).getTileNumber());
    System.out.println("The Model Name is : + " +getPrimaryModel().getName());
    System.out.println("The model size is from the request : " + getPrimaryModel().getSize());
    getPrimaryModel().setLocation(((TiledViewRequestInvocationEvent)event).getTileNumber());
    System.out.println("the value of the clicked field was :" + getDisplayFieldStringValue(CHILD_EMP_NO));
    System.out.println("From the value:"+ getEmpNoChild().getValue());
    getParentViewBean().forwardTo(getRequestContext());
    public void beginComponentDisplay(DisplayEvent event) throws ModelControlException {
    TaxPackUserDATA tpackDATA =null;
    AccrualsSessionHome myAccrualsSessionHome;
    String userID;
    Object result;
    try {
    System.out.println("Before the create");
    Context c = new InitialContext();
    System.out.println("after the intial context");
    result = c.lookup("ejb/AccrualsSession");
    System.out.println("The class name :" +result.getClass().getName());
    System.out.println("after the lookup");
    myAccrualsSessionHome = (AccrualsSessionHome)PortableRemoteObject.narrow(result,AccrualsSessionHome.class);
    System.out.println("after narrow down");
    AccrualsSession asb = myAccrualsSessionHome.create();
    System.out.println("after the create");
    tpackDATA = asb.validateUser("111351");
    System.out.println("The user is " + tpackDATA.getEmpNo());
    System.out.println("The Name id is " + tpackDATA.getName());
    System.out.println("The admin is " + tpackDATA.getAdmin());
    System.out.println("The superUser is " + tpackDATA.getSuperUser());
    } catch (Exception e) {
    System.out.println("Error during Validate User Login in AccrualsLoginServlet" + e);
    System.out.println("Inside AccrualsLoginViewBean beginComponentDisplay");
    BeanAdapterModel model = (TaxPackUserAccess) getRequestContext().getModelManager().getModel(TaxPackUserAccess.class);
    System.out.println("After creating the model" + getPrimaryModel().getName());
    getRequestContext().getRequest().setAttribute(model.getBeanScopeAttributeName(), tpackDATA);
    System.out.println("Leaving AccrualsLoginViewBean beginComponentDisplay");
    System.out.println("The model size is : " + model.getSize());
    // getPrimaryModel().setSize(1);
    // resetTileIndex();
    // super.beginComponentDisplay(event);
    }

    You are using BeanAdapterModel. Unless you've elected to place your BeanAdapterModel instance in the session, it is request-scoped like all JATO objects. This means that on the second request, a new model is created, and unless you set the list of beans on the model, it has no beans on which to set the incoming data.
    An easy place to set the list of beans is in the constructor of the model. If, however, the beans are in one of the J2EE scopes (either already, or because you elected to put them there sometime earlier in your request handling), then you can use the model's ability to look up the beans in that scope by adjusting the Bean Scope and Bean Scope Attribute properties.

  • Large Report Model SMDL files

    Hello! I am generating and modifying the report model programmatically and it comes out as big
    as 260MB - for over 500 entities with hundreds of attributes in each of them.
    When the report model is being uploaded into Report Manager, the ReportingServicesService.exe spikes up to 4GB in memory usage.
    Of course, sometimes such an amount of memory is not available and the upload fails with OutOfMemory exception
    Also, I cannot open the report model in the BIDS - I get Insufficient Memory exception.
    Why would a 260MB model require 4GB of memory?
    How can I reduce the size of my model and keep all my entities?
    Thanks a lot!!

    Hi aedna,
    Generally, we always see the Insufficient Memory exception when Visual Studio truly runs out of memory. And if we upload 260MB file to Report Manager, the ReportingServicesService.exe spikes up to 4GB in memory usage is a normal phenomenon.  Microsoft
    ASP.NET imposes a maximum size for items that are posted to the server. By default, this limit is 4 megabytes (MB). If you upload or publish a file that exceeds this limit to a report server, you receive an HTTP exception. In this case, you can modify the
    default by increasing the value of the maxRequestLength element in the Machine.config file.
    Besides, a report model is a collection of entities and their relationships that reflects the real-world relationships between business functions and processes. If we want to keep all entities, I think we cannot reduce the model size.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • What memory to get for my system?

    This is a common question when people are building a new system and the uncertainties about compatibility with certain CPU's are numerous. In order to address this issue, let me give you a number of steps you can take to make sure you buy the memory that will in all likelihood do exactly what it is supposed to do.
    Make up your mind about the number of memory sticks you want to install. On the X79 platform, do you want to use 4 slots, or do you want to fully populate all 8 slots? This is very important especially with i7-3930K CPU's, which have a rather finicky memory controller.
    Make a shortlist of quad or octo packs of memory sticks in the size you want, limiting yourself to ONLY sticks using 1.5V or less.
    Check the motherboard manufacturer's site QVL list to see which of the sticks on your shortlist are approved. Pay attention to the number of slots for which they are approved. Some modules are approved for 4 slots only, others for fully populated use.
    Check the memory manufacturer's site QVL list to see which motherboards are approved.
    Try to establish if there are users that have been successful in using the sticks on your shortlist and delete any that were giving trouble to others. NewEgg can be a good source for that.
    Now that you have a very short shortlist, contact the Technical Support departments of both the motherboard manufacturer and the memory manufacturer and ask them to confirm or deny the compatibility of the memory modules in the quantity you need.
    If both confirm compatibility, check the physical height of the modules including heatsink in relation to the intended CPU cooler. Do they fit without modding?
    In general, only buy matched sets of memory sticks. There are too many different sticks with the same type number, that will cause grief when bought as four single sticks, but you limit the risk by only buying quad sets or octo sets for fully populated X79 platforms.
    CAS latency is no longer important, in fact, with the finicky nature of the memory controller of the Sandy Bridge-E, it can be advantageous to choose a higher CAS latency for improved compatibility. What can be important - relatively speaking, only in single digit % performance differences - is the rated speed of the memory, 1333 or 1600 or 2133 or even 2400.
    Even though the X79 platform only supports - at least officially - up to DDR3-1600, one can use XMP profiles in the BIOS to have the memory run at its rated speed of say 2133.
    For my new 'Monster' I followed these steps and ended up with a fully populated 8 x 8GB octo set of G.Skill RipjawsZ F3 DDR3-2133 sticks that are running without any problems at 2190 MHz.
    Hope this helps others to make the right choice of memory modules and I would request readers to submit data on their memory modules on fully populated X79 platforms to share with the community. Brand, model, size, speed and the effective running speed. Also please share your experiences in setting up the memory in your system. I for one had difficulty in setting it up correctly as documented here: Final Results

    Harm. Here's the information I received from G.SKILL Technical Support, in response to my inquiry.
    I think you might find it interesting. My question/s asked if they've tested a particular 64GB RAM kit http://www.gskill.com/products.php?index=432 on a P9X79-PRO motherboard with an i7 3930k CPU, and if they can confirm whether that kit works with those components.
    Here's their reply--
    Dear Christopher Cox,
    On our F3-12800CL10Q2-64GBZL webpage (http://www.gskill.com/products.php?index=432), we listed the ASUS P9X79 Pro motherboard as a compatible motherboard. Any motherboard we have listed as compatible has been tested using the i7-3930K CPU. We also put the system through an in-house stress test during production before each of the product is shipped out.
    So you can be sure that our memory kit will work on your system. We can confirm that  F3-12800CL10Q2-64GBZL is fully compatible on a ASUS P9X79 Pro and i7-3930K system.
    However, do keep in mind that out of all our 3930K CPUs, there were a few CPUs that had problems supporting full eight modules, regardless of frequency. Strangely enough, they were able to support 2400Mhz at 2 or 4 modules, which is unlikely for Sandy Bridge CPUs. So if you are having trouble with all 8 modules, but not with 4 modules, the CPU might be the cause. A rare occurrence, but would happen with any CPU with integrated memory controllers.
    In terms of being finicky, the 3930K CPU simply has less tolerance when compared to the 3960X at high frequencies, such as 2400Mhz. At 1600Mhz, there should be no problems.
    ASUS is not able to list all memory kit models that are compatible because they do not have all of our memory kit models. Therefore, won’t be listed on their QVL list.
    Please feel free to contact us again if you have any further questions. Thank you for choosing G.Skill.
    Best Regards
    Tech Support Team, F.A.E.
    G.SKILL International Enterprise Co., Ltd.

Maybe you are looking for

  • How do I export a project from Final Cut Pro onto my desktop?

    How do I export a project from Final Cut Pro to my desktop as a movie?

  • Applications not in 'Home' folder

    For some reason all of my apps are in the sub-folder, 'Applications'. The main 'App' folder is empty. I don't know how this happened. Is there an easy way to move/copy to main folder? Thanks!

  • Drop-down lists Form Calc

    Hi, I am new to Livecycle and am currently updating administration forms to make them interactive. I am having trouble with FormCalc for the expenses form. There are columns for kilometres, rate (drop-down list) and total. Basically I want 'kilometre

  • ComboBox with checkboxes

    I need to have an ItemRenderer in the Grids that will combine a combobox with checkboxes. Any idea/sample? Thanks

  • Dynamically changing the prompt on ksh

    Hi , I couldn't find a better forum to post this query, that's why I put it under Installation. How do you make sure that the ksh prompt displays the current directory as well? I tried various combinations...even the examples say that PS1="[! $PWD]"