ADOxx.orgADOxx.org is the community portal of the ADOxx metamodelling platform.
Join ADOxx.org to gain full-access to the platform development resources, tools and documentation!Scope of ADOscript in PROGRAMCALL attributeHans-Georg Fillhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=23507652021-05-20T15:14:53Z2021-05-20T15:14:53ZDear all,<br /><br />just some hints on how to use ADOscripts in the PROGRAMCALL attribute - as I found no information in the forum on this so far, I thought it may be useful to share the following information:<br /><br />If you execute ADOscript scripts in a PROGRAMCALL attribute, make sure that you set the right scope for them. <br /><br />In particular, if you use something like:<br /><br />ITEM "Überprüfung"<br />CC "AdoScript" FREAD file:"C:\\Temp\\check_availability.asc"<br />EXECUTE (text) scope:same<br /><br />Here, it is necessary to explicitly set the scope for the EXECUTE statement - otherwise the pre-defined variables (e.g. objid for the current instance where the PROGRAMCALL attribute is located) are not available in the executing ADOscript.<br /><br />Took me a while to find out ;-) - hope it helps.<br /><br />Best,<br />Hans-GeorgHans-Georg Fill2021-05-20T15:14:53Z24 món quà sinh nhật đẹp đẽ và ý nghĩa nhất dành tặng nàngBlogger Hoạ Sĩhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=22467262021-04-28T08:51:57Z2021-04-28T08:51:37Z<span style="color: #333333"><span style="font-family: Arial"><span style="font-size: 10px">sắm quà thật khó. Bất nói bạn đang sắm tìm cho Các bạn ruột, vợ / chồng lâu năm hay đồng nghiệp, hành động chọn món quà xuất sắc mang thể khiến bạn choáng ngợp. Họ muốn khiến cho gì? Các gì họ chưa sở hữu? Họ muốn nó mang màu gì? Họ có bị dị ứng có bất cứ thứ gì không? Họ mang thích đọc không? Mùi hương ham mê của họ là gì? Gần như thắc mắc, quá ít thời kì để tậu.</span></span></span><span style="color: #333333"><span style="font-family: Arial"><span style="font-size: 10px">Để giảm bớt găng cho việc mua tậu quà tặng của bạn, chúng tôi đã đưa ra danh sách 50 món quà xuất sắc dành cho số đông các kiểu đàn bà khác nhau — hoặc bất kỳ ai — trong thế cục bạn. Từ đầu bếp gia đình tới người yêu rượu vang cho đến một người bạn ko biết rõ về điều ấy, chúng tôi đã giúp bạn. Dưới đây là những chọn lựa của Đã Phân tích về những món quà mà nữ giới muốn vào năm 2021, bao gồm một số thứ thấp nhất mà chúng tôi đã thí nghiệm, các mặt hàng phổ thông được xếp hạng cao nhất và các thứ mà những biên tập viên của chúng tôi có, ham và giới thiệu.</span></span></span><span style="color: #333333"><span style="font-family: Arial"><span style="font-size: 10px">nếu như bạn chỉ dựa vào những món quà sinh nhật mà bạn nhận được trong khoảng bạn bè và gia đình, bạn đang bỏ lỡ thời kì rất lớn. Chúng tôi đã địa chỉ với một số nhà bán buôn, nhà hàng yêu thích của mình và để xem họ mang cung cấp bất kỳ đặc quyền miễn phí nào cho các người doanh nghiệp sinh nhật hay không. Và, bất ngờ! Họ làm! Từ bữa tối tại nhà hàng ham của bạn, phiếu khuyến mại từ những nhãn hàng hãn hữu lúc khuyến mại, shop đồ ngọt và thậm chí là bữa tiệc sinh nhật cộng đồng, với hồ hết cơ hội để tổ chức sinh nhật của bạn kéo dài cả tháng.</span></span></span><span style="color: #333333"><span style="font-family: Arial"><span style="font-size: 10px">Trong những trường hợp thông thường, trải nghiệm sinh nhật là chọn lựa dành đầu tiên để chúc mừng các người nữ giới trong cuộc thế bạn. Một bữa tối hưng vượng biên soạn, một chuyến du lịch cuối tuần hoặc đi xem một buổi biểu diễn sẽ là hoàn hảo, nhưng ngày nay thì những điều đó ko còn gì bằng. Nhưng ngay cả lúc đã đặt những chọn lọc này sang một bên, sinh nhật của cô ấy cũng không khăng khăng phải là 1 ngày vui nhộn. Bây giờ là lúc để biểu lộ tình ái trọng đại nhất của bạn dành cho người bạn gái trong ngày đặc trưng của cô ấy! Chúng tôi đã tổng hợp 1 lực lượng xuất sắc gồm các món quà hữu ích, ngon miệng và kỹ lưỡng nhất mà cô ấy sẽ thực sự Tìm hiểu cao, đặc biệt nếu như cô ấy không thể sắm tìm. Trong khoảng đăng ký nhà máyđể dầu ô liu bougie cho các lời chúc mừng người nức tiếng được tư nhân hóa, chúng tôi có thể đảm bảo rằng người nữ giới mang mọi thứ chắc chắn ko mang một số thứ này. Và cô ấy nên! Do vậy, hãy lướt qua và chiêu đãi cô gái sinh nhật của bạn các món quà nhỏ giúp tăng tinh thần của cô đó và không làm cho cô đấy thất vọng. Hãy tham khảo tặng <a href="https://soigart.com/5-mon-qua-tang-sinh-nhat-ban-gai-vua-y-nghia-vua-thiet-thuc/">quà tặng sinh nhật</a> cho bạn gái</span></span></span><span style="color: #333333"><span style="font-family: Arial"><span style="font-size: 10px"><br /></span></span></span>Blogger Hoạ Sĩ2021-04-28T08:51:37ZRE: Writing rotated textZlatko Stapichttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=21142462021-03-25T09:04:22Z2021-03-25T09:04:22ZDear all, <br />thank you very much for your fast feedback. I understand the proposal, however, we have to write rotated text dynamically, depnding on the attributes defined in the model. <br />Would this mean that we can create an image dynamically and rotate it in GraphRep, or should I have an external webservice creating an image for me and delivering it to the model?<br />If the second one is the answer, do you have an example of receiving and image from the API and displaying it in the model?<br />Kr, <br />ZlatkoZlatko Stapic2021-03-25T09:04:22ZRE: Writing rotated texthttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=21131242021-03-24T14:25:45Z2021-03-24T14:25:17ZDear Zlatko Stapic,<br /><br />a very simple workaround is the creation of an image showing the text and simply rotating the image. For instance, you can create a textbox in PowerPoint, rotate this text box and save it as an image.<br />More details on how to integrate an image in a Graphrep can be found here: <a href="https://www.adoxx.org/live/faq/-/message_boards/message/709471">https://www.adoxx.org/live/faq/-/message_boards/message/709471</a>.<br /><br />Please get in touch with us if you should have any further questions: faq@adoxx.org.<br /><br />Best regards,<br />the ADOxx.org Team2021-03-24T14:25:17ZWriting rotated textZlatko Stapichttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=21130952021-03-24T14:06:49Z2021-03-24T14:06:40ZDear all, <br />we have went through GraphRep syntax but cannot find an option to rotate a text or to write rotated text on a model. <br />Are we missing something? Is there a workaround that would enable us to do this?<br />Thank you in advance!Zlatko Stapic2021-03-24T14:06:40ZDetect DeleteRelation originGhassen Frikhahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=20815712021-03-02T10:10:25Z2021-03-02T10:08:01ZHello Community, <br /><br />I want to verify with the user before deleting an instance, if he dosen't want to proceed, the delete action will be aborted. <br />I am doing this with a QUERYBOX triggered with the <u>BeforeDeleteInstance</u> Event.<br />If wants to delete the exit result is 0, if no the exit is -1. <br /><br />The problem now is the relation connected to the object will be deleted automatically. (even if the delete action is aborted)<br />I tried to solve the problem with the two events (<u>deleteRelationInstance</u> and <u>discardRelationInstance</u>) <br />1 - store the relations in a map then recreate them. Then in the BeforeDeleteInstance, if the delete is confirmed, the instance and all connected relations will be deleted.<br />It's working but as a result, I can no longer delete a relation alone. (Well i know the solution is not optimized and not perfect) <br /><br />2- The second attempt is to recover the relation in the BeforeDeleteInstance Event.<br />If the delete instance action is aborted, the relation will be recreated. --> this will generate a system error.<br /><br />Is there a solution to detect the origin of the deleteRelation action (user OR system / script )..?Ghassen Frikha2021-03-02T10:08:01ZRE: ADOxx API (interaction with python scripts)Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=20729542021-02-19T21:08:24Z2021-02-19T21:08:09ZI found following which is maybe also helpful for other:<br />https://www.adoxx.org/live/fa/faq/-/message_boards/message/59631#_19_message_59631Martin Paczona2021-02-19T21:08:09ZRE: How to move model elements automatically to the background layer?Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=20729482021-02-19T21:05:32Z2021-02-19T21:05:07ZThank you this is exactly what i needed.<br /><br />Defining it in the Development Tookit within the GRAPHREP the code looks following:<br /><em><span style="font-size: 16px">GRAPHREP </span></em><span style="font-size: 16px"><em>layer:-1 sizing:asymmetrical</em><br /><br />BR<br />Martin</span>Martin Paczona2021-02-19T21:05:07ZRE: How to move model elements automatically to the background layer?Vladimir Shekhovtsovhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=20534382021-02-11T09:27:42Z2021-02-11T09:27:42ZDear Martin,<br /><br />this can be achieved for all newly created elements by specifying the layer attribute in GRAPHREP with a negative value like this:<br /><br /><div class="code"><span class="code-lines">1</span>CLASSATTRIBUTE <GraphRep><br /><span class="code-lines">2</span> VALUE "GRAPHREP layer:-1 sizing:asymmetrical ... "<br /></div><br />Sincerely,<br />Vladimir ShekhovtsovVladimir Shekhovtsov2021-02-11T09:27:42ZSYSTEM command with relative pathBen Roelenshttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=20496402021-02-06T22:37:04Z2021-02-06T22:36:36ZHello,<br /><br />I am currently finishing a new version of my modeling tool and try to incorporate the external coupling as much as possible in the local database. <br /><br />In this respect, it seems that the following command is not working when using the relative db location, while it works with an absolute path (e.g. C:\\ADOxx\\):<br /><br />SYSTEM ("cmd /c java -jar db:\\EigenValues.jar")<br /><br />Do I make a mistake here or should a SYSTEM statement always be used with an absolute path?<br /><br />Kind regards,<br /><br />Ben RoelensBen Roelens2021-02-06T22:36:36ZADOxx add you own help to the modeling toolMartin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=19958082020-11-25T07:52:48Z2020-11-25T07:52:11ZHello,<br /><br />For my modeling tool i want to create my own help pages which is included in the "ADOxx Help".<br />How i can do that?Martin Paczona2020-11-25T07:52:11ZADOxx API (interaction with python scripts)Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=19957962020-11-25T07:44:37Z2020-11-25T07:44:23ZHello,<br /><br />I want to integrate python scripts in my ADOxx solution. <br />Where i can find documentation to call such external scripts via ADOxx (Adoscript).<br /><br />Thank You!<br />Br<br />MartinMartin Paczona2020-11-25T07:44:23ZRECORD (Record table)Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=19957572020-11-25T07:22:41Z2020-11-25T07:22:07ZI want to create a record table containing the materialnumber and description.<br />But it is not possible to create the definition for the referenced record table.<br />When i enter a name for the referenced record table i always get "is not a valid name of a record class".<br /><br />Do i need to specify something before creating the record table?<br />Can someone show how to add a record table?<br /><br />Attached you can find the screenshots of the adoxx development toolkit.Martin Paczona2020-11-25T07:22:07ZCan i call an external script (Adoscrip) from the Graphrep definition?Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=19064412020-07-02T16:33:03Z2020-07-02T16:32:24ZTo implement a rotation function i want to put the calculations in an external script<br /> can i call the script from the Graphrep definition directly or must i included it directly in the graphrep definition?<br /><br />Example:<br />...<br />GRAPHREP<br /> EXECUTE file "db:\\RotateGraphrep.asc"<br />...<br /><br />Br<br />MartinMartin Paczona2020-07-02T16:32:24ZRE: Hide Dotted Print LineMartin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=19041902020-06-29T09:22:10Z2020-06-29T09:21:44ZHello,<br /><br />you can hide the line using the view setting which you find in the menu at the top.<br /><br />"View" -> "Page layout" -> uncheck the box "Page transitions"<br /><br />BR<br />MartinMartin Paczona2020-06-29T09:21:44ZHow can i detect if a model is created using the dialog "New..."?Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=19041832020-06-29T09:16:17Z2020-06-29T09:15:17ZWith ON_EVENT "CreateModel"{ ... i create predefined model elements when a new model is created. <br />The problem is that this event is also triggert when models are imported?<br /><br /><strong>How can i detect if the model is created using the import or by using the menu dialog "New..." ?<br /><br /></strong>BR MartinMartin Paczona2020-06-29T09:15:17ZHide Dotted Print LineJoscha Hoferhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=18542722020-05-01T10:02:34Z2020-05-01T10:02:16ZHello, <br /><br />is there anyway to hide the dotted DINA4 line?<br /><br />Kind Regards<br />Joscha HoferJoscha Hofer2020-05-01T10:02:16ZTransparency of GraphRep elementsMartin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=18192702020-03-20T12:32:34Z2020-03-20T12:32:17ZHow i can set the transparency of GraphRep elements?<br />The cmd "transparent" does not work.<br /><br />...<br />PEN color:$00007f w:0.1cm<br /><strong>FILL color:transparent </strong><br />RECTANGLE x:0.0cm y:0.0cm h:1.5cm w:3.5cm<br />...<br /><br />Thank you!<br /><br />(Adoxx 1.5)Martin Paczona2020-03-20T12:32:17ZRE: How to move model elements automatically to the background layer?Martin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=18181922020-03-18T17:06:02Z2020-03-18T17:05:49ZTo be more precise i want to perform the <strong><em>to background</em></strong> fuctionality (Layer -> to background) over ADOxscript<br />Is there really no way to do that?<br /><br />Thank you.Martin Paczona2020-03-18T17:05:49ZRE: Get model which is currently shown in the modeling editorMartin Paczonahttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=18062802020-03-05T15:01:44Z2020-03-05T15:01:31ZIt is working =)<br />I am using the ON_EVENT "CreateModel" <br />which returns the "modelid" which i can now use to access the current active model / shown model.<br /><br /><span style="font-family: monospace"><span style="font-size: 16px">ON_EVENT "CreateModel"</span></span><br /><span style="font-family: monospace"><span style="font-size: 16px">{</span></span><br /><span style="font-family: monospace"><span style="font-size: 16px"> EXECUTE file: "db:\\scripts_predefined_objects.asc"</span></span><br /><span style="font-family: monospace"><span style="font-size: 16px"> CREATE_PREDEFINED_OBJECTS nModelID: ( modelid )</span></span><br /><span style="font-family: monospace"><span style="font-size: 16px">}<br /><br />The solution is described in:<br /></span></span><a href="https://www.adoxx.org/live/en_GB/faq/-/message_boards/view_message/354495#_19_message_353322">https://www.adoxx.org/live/en_GB/faq/-/message_boards/view_message/354495#_19_message_353322</a><span style="font-family: monospace"><span style="font-size: 16px"><br /><br /><br /></span></span><br /><span style="font-family: monospace"><span style="font-size: 16px"></span></span>Martin Paczona2020-03-05T15:01:31Z