<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to easily convert FlexSim script into a dll file? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601464#M95084</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;XML.Document is a FlexScript class. It isn't accessible in C++. See &lt;A href="https://answers.flexsim.com/questions/112471/the-objcet-class-type-is-not-available-in-dll-make.html"&gt;The Objcet class type is not available in Dll-Maker. - FlexSim Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to read/write xml from the DLL Maker, use a C++ library, such as &lt;A href="https://github.com/leethomason/tinyxml2"&gt;tinyxml2&lt;/A&gt;. Using C++ libraries is the purpose of using the DLL Maker. If you want to use FlexScript, then just use it directly; you don't need to put such code into a DLL. Create a user command or a node function if you want to call FlexScript functions from other functions.&lt;/P&gt;&lt;P&gt;If you want to access FlexSim C++ classes rather than the basic functions in the DLL Maker, then you need to use the &lt;A href="https://docs.flexsim.com/Reference/DeveloperAdvancedUser/ModuleSDK/KeyConcepts/KeyConcepts.html"&gt;Module SDK&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 29 Jan 2024 17:30:31 GMT</pubDate>
    <dc:creator>philboboADSK</dc:creator>
    <dc:date>2024-01-29T17:30:31Z</dc:date>
    <item>
      <title>How to easily convert FlexSim script into a dll file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601461#M95081</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.0.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I know there is a post to talk about this (in 2016). I tried to download the DLL Maker, but it is very old. I have used some recently-added FlexSim scripts in the 2024 version and I would like to easily convert them into a DLL file and call them in a self-defined button. I find some FlexSim scripts (for example XML.Document) are not supported in the DLL Maker. Is there a solution for this?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Jan 2024 16:59:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601461#M95081</guid>
      <dc:creator>royjuventus29</dc:creator>
      <dc:date>2024-01-28T16:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily convert FlexSim script into a dll file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601462#M95082</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Have you gone through this &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.0/Reference/DeveloperAdvancedUser/ConnectingToExternalCode/ConnectingToExternalCode.html#building" target="_blank"&gt;post&lt;/A&gt;?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2024 06:47:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601462#M95082</guid>
      <dc:creator>arunTTT2P</dc:creator>
      <dc:date>2024-01-29T06:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily convert FlexSim script into a dll file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601463#M95083</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Yes, I have read it. Could you tell me how to achieve the XML.Document and Object.Create("xxx") in the dllmaker compiler? 
&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2024 10:56:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601463#M95083</guid>
      <dc:creator>royjuventus29</dc:creator>
      <dc:date>2024-01-29T10:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily convert FlexSim script into a dll file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601464#M95084</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;XML.Document is a FlexScript class. It isn't accessible in C++. See &lt;A href="https://answers.flexsim.com/questions/112471/the-objcet-class-type-is-not-available-in-dll-make.html"&gt;The Objcet class type is not available in Dll-Maker. - FlexSim Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to read/write xml from the DLL Maker, use a C++ library, such as &lt;A href="https://github.com/leethomason/tinyxml2"&gt;tinyxml2&lt;/A&gt;. Using C++ libraries is the purpose of using the DLL Maker. If you want to use FlexScript, then just use it directly; you don't need to put such code into a DLL. Create a user command or a node function if you want to call FlexScript functions from other functions.&lt;/P&gt;&lt;P&gt;If you want to access FlexSim C++ classes rather than the basic functions in the DLL Maker, then you need to use the &lt;A href="https://docs.flexsim.com/Reference/DeveloperAdvancedUser/ModuleSDK/KeyConcepts/KeyConcepts.html"&gt;Module SDK&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2024 17:30:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601464#M95084</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2024-01-29T17:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily convert FlexSim script into a dll file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601465#M95085</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;To create objects using the DLL Maker, use createinstance() to create instances of library classes or createcopy() to create copies of instances.&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2024 17:34:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-easily-convert-flexsim-script-into-a-dll-file/m-p/13601465#M95085</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2024-01-29T17:34:03Z</dc:date>
    </item>
  </channel>
</rss>

