<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Michel Selten wrote:<br>
<blockquote type="cite"
 cite="mid1063646182.5872.2.camel@CP324735-A.mill1.nb.home.nl">
  <pre wrap="">On Sun, 2003-09-14 at 12:26, jms wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Did this function work vorrevtly now?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Object.shareFrom() currently only works on Mesh objects. I have no clear
idea how much it will take / what it will take to add support for the
other object types.

  </pre>
  <blockquote type="cite">
    <pre wrap="">If it worked before, where can we  get
an example (blend file for instance) which
gives good results?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The following example works for me on a clear scene:

import Blender

src = Blender.Object.GetSelected()
dst = Blender.Object.New ("Mesh")

dst.shareFrom (src[0])

scene = Blender.Scene.GetCurrent()
scene.link (dst)

  </pre>
</blockquote>
<br>
Sorry, this does not work under win32.<br>
<br>
Return:<br>
<br>
Using a clean Global Dictionary.<br>
In Object_GetSelected()<br>
Traceback (most recent call last):<br>
  File "Text", line 6, in ?<br>
TypeError: argument 1 is not of type 'Object'<br>
<br>
Regards.<br>
jms<br>
</body>
</html>