<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to use ScriptObjectFactories?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/</id><updated>2020-02-27T14:45:42.634000Z</updated><subtitle>Recent posts to How to use ScriptObjectFactories?</subtitle><entry><title>How to use ScriptObjectFactories?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/?limit=25#18c2" rel="alternate"/><published>2020-02-27T14:45:42.634000Z</published><updated>2020-02-27T14:45:42.634000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com16c381797f73e2e18c29295780fd96fc8cfc855a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Yes, the current schedule for V3.5 SP2 is still mid-of-december 2012.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use ScriptObjectFactories?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/?limit=25#390c" rel="alternate"/><published>2020-02-27T14:45:41.123000Z</published><updated>2020-02-27T14:45:41.123000Z</updated><author><name>Frank Jepsen</name><uri>https://forge.codesys.com/u/frank-jepsen/</uri></author><id>https://forge.codesys.comd050b3ec4bc856bed21bc81e3b582add2dbeda59</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Marcus,&lt;/p&gt;
&lt;p&gt;I will be looking forward to try out the feature in SP2 then.&lt;/p&gt;
&lt;p&gt;It seems that there will be a lot of new features in the script engine in that version. The documentation in SP1 Patch 2 gives a taster, since it includes documentation for some of the objects that will first be available in SP2  Is SP2 still scheduled to be released during december 2012?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Frank&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use ScriptObjectFactories?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/?limit=25#677b" rel="alternate"/><published>2020-02-27T14:45:40.551000Z</published><updated>2020-02-27T14:45:40.551000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com5fed0099aa71d50a5738a98b879c51acd1bd99ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi, Frank,&lt;/p&gt;
&lt;p&gt;I tried your example, and actually, you found a bug.  &lt;/p&gt;
&lt;p&gt;I filed the bug into our Jira system as &lt;a class="" href="http://jira.3s-software.com/browse/CDS-30637" rel="nofollow"&gt;CDS-30637&lt;/a&gt;, and fixed it.&lt;/p&gt;
&lt;p&gt;The fix is currently scheduled for the next service pack (V3.5 SP2).&lt;/p&gt;
&lt;p&gt;Thank you for your feedback!&lt;/p&gt;
&lt;p&gt;Markus Schaber&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use ScriptObjectFactories?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8820bfe8af/?limit=25#362a" rel="alternate"/><published>2020-02-27T14:45:39.009000Z</published><updated>2020-02-27T14:45:39.009000Z</updated><author><name>Frank Jepsen</name><uri>https://forge.codesys.com/u/frank-jepsen/</uri></author><id>https://forge.codesys.comc1d6f7bff90f4aa0e42cbd12671ee77c08dca580</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In the script engine documentation for V3.5 SP1 Patch 2, I have noticed that a script object factory object is present. Has anyone used this and is able to explain how to use it?&lt;/p&gt;
&lt;p&gt;Under ISystem2 members I see a property called "factories", so one should be able to use&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;system&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;factories&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;as an entry point. However, when I try this I get the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): Begin of script&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): system.factories&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): exception (&amp;lt;type 'exceptions.standarderror'=""&amp;gt;, StandardError('Exception has been thrown by the target of an invocation.',), &amp;lt;traceback object="" at="" 0x0000000000000034=""&amp;gt;)&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): system.factories&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): exception (&amp;lt;type 'exceptions.standarderror'=""&amp;gt;, StandardError('Exception has been thrown by the target of an invocation.',), &amp;lt;traceback object="" at="" 0x0000000000000035=""&amp;gt;)&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): system.factories&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): Return from script&lt;br/&gt;
&lt;span&gt;[INFORMATION]&lt;/span&gt;   test.py(8): system.factories&amp;lt;/traceback&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;/traceback&amp;gt;&amp;lt;/type&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Frank&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>