karsen Posted April 15, 2022 Posted April 15, 2022 I have a VLX application that works in the English version, but does not work in the Polish version. the author claims he used the _region command in it and the rest are internal ActiveX functions. do you have any idea what the problem could be? Quote
Isaac26a Posted April 15, 2022 Posted April 15, 2022 For a command to work in multiple languages I think it should have "_." before any command used, so it can be translated to the original code language which is english, but if the author of the Vlx omited the dot I think you can't get it to work in another language, maybe there is some code here in the posts that can solve your needs, what does the program do? 1 Quote
karsen Posted April 15, 2022 Author Posted April 15, 2022 the author used the _region command. unfortunately I don't have the code Quote
Isaac26a Posted April 15, 2022 Posted April 15, 2022 Well you'll never have the code of the vlx, but what do you use it for?, to obtain areas?, or to get the centroid? Quote
karsen Posted April 15, 2022 Author Posted April 15, 2022 yes, the application moves the texts to the specific area in the middle of it (centroid) Quote
karsen Posted April 15, 2022 Author Posted April 15, 2022 (edited) I wrote to the author to add a dot to the _region command. hope this will solve the problem, the application moves the texts to the specific area in the middle of it (centroid) Edited April 15, 2022 by karsen Quote
exceed Posted April 18, 2022 Posted April 18, 2022 If it's simply a _region problem, how about to test, adding the "_region region" to your .pgp file? or to know if that's the problem, changing the link to English, on the shortcut AutoCAD icon. Quote
karsen Posted April 20, 2022 Author Posted April 20, 2022 unfortunately the problem is not resolved Author was already used vla-addregion instead of command, so I can be sure is not the problem command _region. does anyone have an idea where to look for a solution? app does the following: 1. we indicate layer with descriptions to be moved 2.we indicate the layer with closed objects, which are described by the texts selected in point 1 3. Then we indicate the range that intersects the closed objects 4. all texts of intersected closed objects are moved to the centroid for the cut object and range in the English version everything works. in Polish version unfortunately doesn't move the texts. Quote
Tharwat Posted April 20, 2022 Posted April 20, 2022 You may need to hire another programmer but this time you need to go with professional one and anyone that cross your way on the web. lol Quote
mhupp Posted April 20, 2022 Posted April 20, 2022 Could you make a short lisp to call the Polish version? (defun C:Region () (C:Polish version) ) Quote
karsen Posted April 20, 2022 Author Posted April 20, 2022 (edited) it doesn't work... why does VLX work in english version? the same computer with the Polish version and it does not work anymore Edited April 20, 2022 by karsen Quote
Steven P Posted April 20, 2022 Posted April 20, 2022 So if the Polish version is being used it will be looking for Polish commands (see here for a comparison https://www.cadforum.cz/en/command.asp?ini=A&lan=PL ). If it finds an English command it is not going to understand that. Perhaps the programmer has overlooked a command in there that is causing the problem Quote
karsen Posted April 20, 2022 Author Posted April 20, 2022 he claims that only used ActiveX functions Quote
ronjonp Posted April 20, 2022 Posted April 20, 2022 Post a before and after drawing of what the code does. I know you explained it above but a sample drawing always helps. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.