Library attribute "External coupling" is limited to 32000 charactersLibrary attribute "External coupling" is limited to 32000 charactersRE: Library attribute "External coupling" is limited to 32000 charactersSabin Popescuhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=201562013-06-26T12:35:17Z2013-06-26T12:35:17ZAnother solution would involve storing the whole content of the library attribute "External Coupling" (event handlers and menu item definitions) in a file and using the INCLUDE keyword for referencing the content of this file in the library attribute "External coupling":<br /><br />1. copy the contents of the library attribute "External coupling" in the file "ExternalCoupling.asc" and save the file in the folder "C:\example"<br /><br />2. change the contents of the library attribute External coupling as follows:<br /><br /><div class="code"><span class="code-lines">1</span>@INCLUDE "c:\\example\\ExternalCoupling.asc" </div>Sabin Popescu2013-06-26T12:35:17ZRE: Library attribute "External coupling" is limited to 32000 charactersSabin Popescuhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=201322013-06-26T12:18:09Z2013-06-26T12:09:09ZIf the functionality that your are implementing involves more than 32000, we recommend that you save the implementation for each event handler (ON_EVENT) and each menu item (ITEM) in text files and use the AdoScript commands to run those scripts.<br /><br />Example:<br /><br />1. copy the AdoScript code in the file "event_BeforeCreateRelationInstance.asc" and save the file in the folder "C:\example"<br /><br />2. change the contents of the library attribute External coupling<br /><br /><div class="code"><span class="code-lines"> 1</span>ON_EVENT "BeforeCreateRelationInstance"<br /><span class="code-lines"> 2</span>{<br /><span class="code-lines"> 3</span>[color=#b0b0b0]#save event parameters in GLOBAL variables[/color]<br /><span class="code-lines"> 4</span>SETG id_fromInstID: (frominstid)<br /><span class="code-lines"> 5</span>SETG id_toInstID: (toinstid)<br /><span class="code-lines"> 6</span>SETG id_relationClassID: (relationclassid)<br /><span class="code-lines"> 7</span>SETG id_modelID: (componentid) <br /><span class="code-lines"> 8</span><br /><span class="code-lines"> 9</span>CC "AdoScript" FREAD file: ("C:\\example\\event_BeforeCreatingRelationInstance.asc)<br /><span class="code-lines">10</span>[color=#b0b0b0] # --> RESULT ecode: intValue text: strValue[/color]<br /><span class="code-lines">11</span>EXECUTE (text)<br /><span class="code-lines">12</span>}<br /></div>Sabin Popescu2013-06-26T12:09:09ZLibrary attribute "External coupling" is limited to 32000 charactershttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=200782014-03-27T11:29:14Z2013-06-26T11:48:38ZThe library attribute "External coupling" is limited to 32000 characters. How can I implement scripts that are longer than that?2013-06-26T11:48:38Z