<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.5%2FDevelopers%2FTutorials%2FExportToMaya</id>
	<title>Documentation/4.5/Developers/Tutorials/ExportToMaya - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.5%2FDevelopers%2FTutorials%2FExportToMaya"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.5/Developers/Tutorials/ExportToMaya&amp;action=history"/>
	<updated>2026-04-03T19:13:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.5/Developers/Tutorials/ExportToMaya&amp;diff=43472&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.5</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.5/Developers/Tutorials/ExportToMaya&amp;diff=43472&amp;oldid=prev"/>
		<updated>2015-11-12T20:19:16Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.5&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:OBJtracts.png|300px|Fiber tracts in the Slicer 3D View]] &lt;br /&gt;
&lt;br /&gt;
Python code to capture the contents of the 3D View and export to an OBJ file called ''tracts''&lt;br /&gt;
&lt;br /&gt;
    exporter = vtk.vtkOBJExporter()&lt;br /&gt;
    exporter.SetFilePrefix('/tmp/tracts')&lt;br /&gt;
    layoutManager = slicer.app.layoutManager()&lt;br /&gt;
    view = layoutManager.threeDWidget(0).threeDView()&lt;br /&gt;
    exporter.SetRenderWindow(view.renderWindow())&lt;br /&gt;
    exporter.Write()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This code created two files ''tracts.obj'' and ''tracts.mtl'' which are available in [[Media:OBJtracts.tar|OBJtracts.tar]].&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>