<?xml version="1.0" encoding="iso-8859-1"?>

<xsi_file type="Shelf" xsi_version="12.1.99.1035" syntax_version="1.0">
   <shelf_view name="Ghosting Toolbar" clsid="{F5A64503-97D1-11E3-98B0-78ACC0A222C1}">
      <properties>
         <showtabs>false</showtabs>
      </properties>
      <definition maxinstances="10000" acceptfocus="true" private="false" defaultsize="0,100,200,300" cmdmap="{00000000-0000-0000-0000-000000000000}" supportedtypes="6" category=""></definition>
      <tabs layout="top" active="DS Toolbar">
         <tab label="DS Toolbar" type="toolbar">
            <properties id="{F5A64502-97D1-11E3-98B0-78ACC0A222C1}" name="" display_preset_as_small="False" display_as_text_only="False"></properties>
            <item type="separator" mode="group_header" group_name="Viewport Display"></item>
            <item type="scriptbutton" label="Toggle Ghosting Display" userwidth="100" scriptengine="Python.AXScript.2" tooltip="">
               <scripttext>&lt;![CDATA[import win32com
xsi = Application

activeViewport = Application.GetViewCamera(-1)
toggleValue = xsi.GetValue (str(activeViewport) + &quot;.camdisp.animghostenable&quot;)

if toggleValue == False:
	xsi.SetValue (str(activeViewport) + &quot;.camdisp.animghostenable&quot;, True)
if toggleValue == True:
	xsi.SetValue (str(activeViewport) + &quot;.camdisp.animghostenable&quot;, False)








	
	
]]&gt;</scripttext>
            </item>
            <item type="separator" mode="group_header" group_name="Ghosting Toggle"></item>
            <item type="scriptbutton" label="Ghosting On" userwidth="100" scriptengine="Python.AXScript.2" tooltip="">
               <scripttext>&lt;![CDATA[import win32com
xsi = Application

selectedObjs = win32com.client.Dispatch( &quot;XSI.Collection&quot; )
selectedObjs.AddItems (xsi.Selection)

for eachObj in selectedObjs:
	xsi.SetValue(str(eachObj) + &quot;.visibility.ghosting&quot;, True, &quot;&quot;)


	
	
]]&gt;</scripttext>
            </item>
            <item type="scriptbutton" label="Ghosting Off" userwidth="100" scriptengine="Python.AXScript.2" tooltip="">
               <scripttext>&lt;![CDATA[import win32com
xsi = Application

selectedObjs = win32com.client.Dispatch( &quot;XSI.Collection&quot; )
selectedObjs.AddItems (xsi.Selection)

for eachObj in selectedObjs:
	xsi.SetValue(str(eachObj) + &quot;.visibility.ghosting&quot;, False, &quot;&quot;)


	
	
]]&gt;</scripttext>
            </item>
            <item type="scriptbutton" label="Toggle Ghosting" userwidth="100" scriptengine="Python.AXScript.2" tooltip="">
               <scripttext>&lt;![CDATA[import win32com
xsi = Application

selectedObjs = win32com.client.Dispatch( &quot;XSI.Collection&quot; )
selectedObjs.AddItems (xsi.Selection)

for eachObj in selectedObjs:
	toggleValue = xsi.GetValue(str(eachObj) + &quot;.visibility.ghosting&quot;)
	
	if toggleValue == True:
		xsi.SetValue(str(eachObj) + &quot;.visibility.ghosting&quot;, False)
	if toggleValue == False:
		xsi.SetValue(str(eachObj) + &quot;.visibility.ghosting&quot;, True)]]&gt;</scripttext>
            </item>
            <item type="separator" mode="group_header" group_name="Ghosting Type"></item>
            <item type="scriptbutton" label="Trail" userwidth="100" scriptengine="Python.AXScript.2" tooltip="">
               <scripttext>&lt;![CDATA[import win32com
xsi = Application

selectedObjs = win32com.client.Dispatch( &quot;XSI.Collection&quot; )
selectedObjs.AddItems (xsi.Selection)

for eachObj in selectedObjs:
	xsi.SetValue(str(eachObj) + &quot;.visibility.ghosttype&quot;, 4, &quot;&quot;)]]&gt;</scripttext>
            </item>
            <item type="scriptbutton" label="Object" userwidth="100" scriptengine="Python.AXScript.2" tooltip="">
               <scripttext>&lt;![CDATA[import win32com
xsi = Application

selectedObjs = win32com.client.Dispatch( &quot;XSI.Collection&quot; )
selectedObjs.AddItems (xsi.Selection)

for eachObj in selectedObjs:
	xsi.SetValue(str(eachObj) + &quot;.visibility.ghosttype&quot;, 0, &quot;&quot;)]]&gt;</scripttext>
            </item>
         </tab>
      </tabs>
   </shelf_view>
</xsi_file>
