<%-- * Licensed Materials - Property of IBM * Restricted Materials of IBM * * (C) COPYRIGHT IBM CORP. 2010 All Rights Reserved. * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with * IBM Corp. --%> <%@page import="psdi.webclient.components.*"%> <%@page import="psdi.server.MXServer"%> <%@ include file="../common/componentheader.jsp" %> <% // when in design mode return some stub html for App Designer if(designmode) { IMAGE_PATH = servletBase + "/"+skin+"images/"+(rtl?"rtl/":"")+wcs.getImagePath(); %>
BIM 3D viewer
<% return; } // Must be bound to an instance of NavisWorks to function if( !(component instanceof BIMViewer ) ) { return; } String uiSessionId = wcs.getUISessionID(); BIMViewer bldgMdl = (BIMViewer)component; IMAGE_PATH = servletBase + "/"+skin+"images/"+(rtl?"rtl/":"")+wcs.getImagePath(); // Designer mode may put "-" into the ID string which make them invalid for JavaScript // idenfiers - Get rid of them id = id.replace( "-", "_" ); String containerTable = id + "container"; String value = null; boolean _needsRendered = bldgMdl.needsRender(); if( _needsRendered ) {%> <% } else { if( bldgMdl.getMxVersion() >= BIMViewer.VERSION_75_OR_GREATER ) {%> <%=" <%="]]>"%> <% } else {%> <%=bldgMdl.jspScript( id )%> <%} } if( _needsRendered ) { // Force a reload of the model file if the control is being redrawn bldgMdl.setModelListChanged( true ); bldgMdl.setValueChanged( true ); %>
_frameLoc valign="top" >
<% } // Close else if !bldgMdl.needsRender() ) %> <%@ include file="../common/componentfooter.jsp" %>