Jump to content

Recommended Posts

Posted

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?

Posted

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?

  • Agree 1
Posted

the author used the _region command.

unfortunately I don't have the code

Posted

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?

Posted

yes, the application moves the texts to the specific area in the middle of it (centroid)

Posted (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 by karsen
Posted

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.

Posted

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.

Posted

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 :D 

Posted

Could you make a short lisp to call the Polish version?

 

(defun C:Region ()
  (C:Polish version)
)

 

Posted (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 by karsen
Posted

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

Posted

he claims that only used ActiveX functions

Posted

Post a before and after drawing of what the code does. I know you explained it above but a sample drawing always helps.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...