<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "en"><head><meta charset = "UTF-8"/><meta name = "copyright" content = "(C) Copyright 2020"/><meta name = "DC.rights.owner" content = "(C) Copyright 2020"/><meta name = "DC.type" content = "concept"/><meta name = "abstract" content = "As an addition to Tosca Structure.view, the Ceetron company provides a plug-in for Microsoft PowerPoint® and Microsoft Word® that displays VTFX files in presentations and internet pages. You can animate the displayed model as well as move it, turn it, and zoom."/><meta name = "description" content = "As an addition to Tosca Structure.view, the Ceetron company provides a plug-in for Microsoft PowerPoint® and Microsoft Word® that displays VTFX files in presentations and internet pages. You can animate the displayed model as well as move it, turn it, and zoom."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-c-usr-post-view-vtfx"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>VTFX Plug-In for Office Applications</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-c-usr-post-view-vtfx">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>VTFX Plug-In for Office Applications</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3" colspan = "2"><table class = "DocThemeIntro" id = "table12"><tr><td class = "Intro1Only"><p class = "header"><p class = "abstract">
<span class = "shortdesc">As an addition to <span class = "ph">Tosca Structure.view</span>, the Ceetron company provides a plug-in for Microsoft PowerPoint® and Microsoft Word®
            that displays <code class = "ph codeph">VTFX</code> files in presentations and internet pages. You can
            animate the displayed model as well as move it, turn it, and zoom.</span>

</p>
<p>This page discusses: </p><ul><li><a href = "#tso-c-usr-post-view-vtfx__tso-c-usr-post-view-vtfx-prereq" id = "toc_rg" title = "">Prerequisites and Installation</a></li><li><a href = "#tso-c-usr-post-view-vtfx__tso-c-usr-post-view-vtfx-plugIn" id = "toc_rg" title = "">Embedding the Plug-In Into PowerPoint®</a></li><li><a href = "#tso-c-usr-post-view-vtfx__tso-c-usr-post-view-vtfx-opening" id = "toc_rg" title = "">Opening VTFX Files Using VBA Scripts</a></li></ul>
</p></td></tr></table></td></tr></table>




<div class = "body conbody">
<div class = "section" id = "tso-c-usr-post-view-vtfx__tso-c-usr-post-view-vtfx-prereq"><h2 class = "title sectiontitle">Prerequisites and Installation</h2>

<p>The plug-in is not included in the <span class = "ph">SIMULIA Tosca Structure</span> installation package and must be installed separately on each computer. It is
                realized as an ActiveX component that can be embedded in a Microsoft PowerPoint
                presentation, Microsoft Word document, or html file. The plug-in loads a
                    <code class = "ph codeph">VTFX</code> file generated by <span class = "ph">SIMULIA Tosca Structure</span> and provides means for user interaction with the sequence of models saved in the
                file.</p>
<p>The plug-in is compatible with the following software: </p>
<ul class = "ul">
<li class = "li">Microsoft <span class = "ph">Windows</span>® XP / Vista / 7</li>
<li class = "li">Microsoft Office® 2007 and above  <span class = "ph">(for Office® 2010 only 32bit
versions are supported.)</span></li>
<li class = "li">Firefox® or Chrome®</li>
</ul>
<p>For the operation of the plug-in, a graphic card that supports <span class = "ph">OpenGL</span>
(including actual driver software) is required.</p>
<p>The plug-in can be downloaded directly from Ceetron (http://www.ceetron.com).</p>
</div>

<div class = "section" id = "tso-c-usr-post-view-vtfx__tso-c-usr-post-view-vtfx-plugIn"><p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title sectiontitle">Embedding the Plug-In Into PowerPoint®</h2>

<p>To insert a plug-in into a Microsoft PowerPoint® presentation, do the following: </p>
<ul class = "ul">
<li class = "li">Create a new slide in Microsoft PowerPoint®.</li>
<li class = "li">Select the tab <code class = "ph codeph">GLview 3DPlugin</code> and click <code class = "ph codeph">Insert</code>.</li>
</ul>
<table class = "table"><caption/><colgroup><col/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><img class = "image" src = "../TsoUserImages/ah0daa7c.jpg"/><br/></td>
</tr>
</tbody></table>

<p> The plug-in should now look like this:</p>
<table class = "table"><caption/><colgroup><col/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><img class = "image" src = "../TsoUserImages/prepost_plugin.png"/><br/></td>
</tr>
</tbody></table>

<p> The vtfx file to be loaded in the plug-in can be specified as follows:</p>
<ul class = "ul">
<li class = "li">Select the plug-in by clicking it.</li>
<li class = "li">Click <span class = "ph">Load VTFx</span> in the Add-in (tab <span class = "ph">GLview 3DPlugin</span>).</li>
<li class = "li">Select the <code class = "ph codeph">VTFx</code> (or <code class = "ph codeph">VTF</code>) file you
want to use in the resulting dialog and click <span class = "ph">Open</span>.</li>
<li class = "li">Now, if you view the slide show in presentation mode, the plug-in
will open the <code class = "ph codeph">VTFx</code> file immediately when the slide containing
the plug-in appears.</li>
</ul>
<p>An alternative way to steps 5 and 6 is to open the properties window of the toolbar from the
                <span class = "ph">context menu</span> and to edit the entries there. In this window, the property
                    <span class = "ph">SWRENDERING</span> can also be set to <span class = "ph">ON</span> (default is <span class = "ph">OFF</span>) to
                turn on the software rendering (otherwise the hardware <span class = "ph">OpenGL</span> acceleration is
                used).</p>
<table class = "table"><caption/><colgroup><col/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><img class = "image" src = "../TsoUserImages/prepost_plugin_properties.png"/><br/></td>
</tr>
</tbody></table>

<p> The <code class = "ph codeph">VTFX</code> file is loaded when the slide of the presentation
is shown for the first time. After that, returning to the slide from
another one or even the restart of the presentation (but not of Microsoft
PowerPoint) does not cause the file to be reloaded.</p>
</div>

<div class = "section" id = "tso-c-usr-post-view-vtfx__tso-c-usr-post-view-vtfx-opening"><p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title sectiontitle">Opening VTFX Files Using VBA Scripts</h2>

<p>Using a simple VBA script, the user gains full control of the loading of a <code class = "ph codeph">VTFX</code>
                file in the plug-in. As an example, a button in the presentation can be created such
                that a certain file is loaded when the button is pressed. This behavior is needed if
                the loading time of a <code class = "ph codeph">VTFX</code> file is large so that the user might
                want to skip it, or if different files are to be shown in the same plug-in (for example, by
                clicking a button that corresponds to each file).</p>
<p>To create a button that opens a <code class = "ph codeph">VTFX</code> file, first insert the plug-in as described
                in actions 1-3 above. Then, continue as follows:</p>
<ul class = "ul">
<li class = "li">To add a button, select <code class = "ph codeph">Command Button</code> from the <code class = "ph codeph">Control
Toolbox</code> in the Developer tab, and drag a button into the slide.
</li>
</ul>
<table class = "table"><caption/><colgroup><col/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><img class = "image" src = "../TsoUserImages/prepost_command_button_icon.png"/><br/></td>
</tr>
</tbody></table>
<p>The button will look something like this:</p>
<table class = "table"><caption/><colgroup><col/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><img class = "image" src = "../TsoUserImages/prepost_commandbutton.png"/><br/></td>
</tr>
</tbody></table>

<ul class = "ul">
<li class = "li"> Double-click the button (or right-click and select <code class = "ph codeph">View Code</code>) to edit its
                        <code class = "ph codeph">&lt;</code><code class = "ph codeph">button name</code><code class = "ph codeph">&gt;_Click</code>
                    method in Microsoft Visual Basic editor (the code that handles the click of the
                    button).</li>
<li class = "li">Add a codeline that calls the <span class = "ph">Open()</span> method of the plug-in
as follows (replace the argument <code class = "ph codeph">test.vtfx</code> with your
<code class = "ph codeph">VTFX </code>file name):</li>
<li class = "li">
<pre class = "codeblock">
<code class = "ph codeph"> Private Sub CommandButton1_Click()
</code><code class = "ph codeph">   GLview3DPlugIn1.Open ("test.vtfx")
</code><code class = "ph codeph"> End Sub
</code></pre>
</li>
<li class = "li">Select the menu command <code class = "ph codeph">File | Close and Return to Microsoft
PowerPoint</code>. </li>
<li class = "li">Now, the <code class = "ph codeph">VTFX</code> file will be loaded once the presentation
is started and the button on the slide is clicked. Note that the file
is loaded only once; it unloads when Microsoft PowerPoint is exited.</li>
</ul>
<table class = "Remark" id = "table132"><tr><td class = "Remark"><span class = "run-in.important">Important:
				</span><span class = "notecontent">Advanced usage of the plug-in using VBA scripts requires the use of Macros.
                Therefore, PowerPoint presentations must be saved as «PowerPoint Macro-Enabled
                presentation (<code class = "ph codeph">*.pptm</code>)» files.</span></td></tr></table>
</div>

</div>

</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
