TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: domenicomaria on November 19, 2023, 02:30:07 AM

Title: XDRX-API specific section?
Post by: domenicomaria on November 19, 2023, 02:30:07 AM
since I saw that there are many posts related to XDRX-API-2023,
wouldn't it be better if the administrator creates a specific section ?
Title: Re: XDRX-API specific section?
Post by: It's Alive! on November 19, 2023, 03:30:29 AM
I think that's what 'Show your stuff' is for
Title: Re: XDRX-API specific section?
Post by: domenicomaria on November 19, 2023, 04:22:35 AM
I think that's what 'Show your stuff' is for
Yes, it's the right thing !
Title: Re: XDRX-API specific section?
Post by: Grrr1337 on November 19, 2023, 05:13:01 AM
I think that's what 'Show your stuff' is for
Yes, it's a good idea !

Yes, I also think that @xdcad (https://www.theswamp.org/index.php?action=profile;u=29678) should create own topic like Daniel did with "Cad Python first blood part II".

However my favorite is still Daniel's PyRx (https://github.com/CEXT-Dan/PyRx) project, since everything there is open source, including the `.msi` installer he created,
while the XDrx-API (https://github.com/xdcad/XDrx-API) contains only an `.exe` installer, and no one knows what shady processes can be running on your computer.  :thinking:
Title: Re: XDRX-API specific section?
Post by: kdub_nz on November 19, 2023, 03:15:33 PM
Topics moved to 'ShowYourStuff'

btw:
Thanks to @xdcad for the contributions.

Regards,
Title: Re: XDRX-API specific section?
Post by: xdcad on November 19, 2023, 04:21:52 PM
Topics moved to 'ShowYourStuff'

btw:
Thanks to @xdcad for the contributions.

Regards,

Thanks,
I'm not quite sure what the difference is between these two subforums.

What I have written recently is not just about completing a specific job,
Rather, I want to describe the intermediate implementation process as much as possible to facilitate everyone's discussion.

So I posted it to the AUOLISP sub-forum.

I want to continue the discussion with you, but I don’t know if this kind of content is suitable for this AUTOLISP sub-forum?

If I were to show my own stuff, I might just post the execution code directly, and maybe write less intermediate processes.

Please advise. . .
English is not my mother tongue. I used Google Translate. I don’t know if the meaning was clearly expressed.
Title: Re: XDRX-API specific section?
Post by: kdub_nz on November 19, 2023, 05:21:59 PM
Hi,

The AutoLisp Forum is meant more for Questions and Answers ( and Lisp discussion)

The 'Show your Stuff' Forum is meant for posting ( and explaining ) code you've written.

. . . so it's perfect for your purposes and discussions in each thread..


I like that you are prefixing your threads with [XDRX- . . . ] , that makes them easily identified and searchable :)

Stay well,
Regards,
Title: Re: XDRX-API specific section?
Post by: It's Alive! on November 19, 2023, 05:56:59 PM
to be fair, I did kind of hijack the Python sub forum, but it wasn’t being used. :whistling:
I think if there's a lot of interest in your project, a child board, like the ODCL one might be more appropriate
Show your stuff is not ideal in some cases.

Title: Re: XDRX-API specific section?
Post by: kdub_nz on November 19, 2023, 06:46:03 PM

Hi Dan, @xdcad,

We can set up a special dedicated child board anytime in the future if the traffic and interest warrent it.
Ultimately the decision is John's (@JohnK ) , but we could badger him if needed ( but he is a nice guy, so . . . )
Title: Re: XDRX-API specific section?
Post by: xdcad on November 19, 2023, 07:27:31 PM
to be fair, I did kind of hijack the Python sub forum, but it wasn’t being used. :whistling:
I think if there's a lot of interest in your project, a child board, like the ODCL one might be more appropriate
Show your stuff is not ideal in some cases.

Thanks
Yes, I don’t want to show my own stuff, but I want to discuss the topics I posted with everyone, so I spent a long time improving the content.

If  put it on a display forum, it may not trigger discussion.
This was not my original intention

If the webmaster can create a sub-forum like OPENDCL, I will be happy to maintain it
Title: Re: XDRX-API specific section?
Post by: xdcad on November 19, 2023, 07:31:21 PM

Hi Dan, @xdcad,

We can set up a special dedicated child board anytime in the future if the traffic and interest warrent it.
Ultimately the decision is John's (@JohnK ) , but we could badger him if needed ( but he is a nice guy, so . . . )

Thanks,
If it is possible to create a sub-forum, then I would be willing to maintain it
Thank you for your help in persuading

To be honest, I’m not very sure about how to write the content of a post, for fear of being misunderstood as showing off.
If there could be a dedicated sub-forum for XDRX, then I might be able to write posts more casually.
Title: Re: XDRX-API specific section?
Post by: kdub_nz on November 20, 2023, 04:18:23 AM
It may take couple days for John to look at the situation.

Just continue on in the mean time  :)
Title: Re: XDRX-API specific section?
Post by: domenicomaria on November 20, 2023, 04:53:31 AM
I think if there's a lot of interest in your project, a child board, like the ODCL one might be more appropriate
I agree with you
Title: Re: XDRX-API specific section?
Post by: xdcad on November 20, 2023, 08:07:52 AM
It may take couple days for John to look at the situation.

Just continue on in the mean time  :)

Thanks,
Then I will still post in the AUTOLISP sub-forum for the time being.
Title: Re: XDRX-API specific section?
Post by: JohnK on November 20, 2023, 09:10:01 AM
I created a sub-forum called "XDR-API" located here:
https://www.theswamp.org/index.php?board=78.0

I can move the current topics [currently in "show your stuff"] in a bit, but I was going to take a little time looking into the XDR-API. Can you give us a bit of background about the API (when did you start on it)?
Title: Re: XDRX-API specific section?
Post by: JohnK on November 20, 2023, 09:12:55 AM
Please note:
Unfortunately, I am in a situation where I cannot load any third party tools on my machine (and I would really like to play with Dan's python stuff!).

Dan, don't worry about the python subforum (it wasn't being used). :)
Title: Re: XDRX-API specific section?
Post by: xdcad on November 20, 2023, 04:49:29 PM
I created a sub-forum called "XDR-API" located here:
https://www.theswamp.org/index.php?board=78.0

I can move the current topics [currently in "show your stuff"] in a bit, but I was going to take a little time looking into the XDR-API. Can you give us a bit of background about the API (when did you start on it)?

Thanks,
It can be seen from the XDRX API support in 2004 that it has been developed for 20 years.
The purpose of starting development was to write some external functions for LISP to call and make LISP more efficient.

As time goes by, ARX's AcGe geometry library, AcBr library, and AcDb library are transplanted into the API. The goal is to make LISP programs simple to write and use C++ object-oriented ideas to make LISP more readable. , more efficient.

Allow users to focus more on the algorithm, and the required development functions can be easily found to quickly realize their ideas.

............

I also have websites and forums in China. In the past 20 years, there have been more than 3 million forum posts. I have written thousands of plug-in applications and various functions for everyone. As an engineer, I am not professional in writing code. I hope I can The tools written can make engineers work more efficiently.

I post here to let more people know about it, use it, and improve it together.

Knowledge is only knowledge if it is taught to others
Title: Re: XDRX-API specific section?
Post by: xdcad on November 20, 2023, 05:28:53 PM
I created a sub-forum called "XDR-API" located here:
https://www.theswamp.org/index.php?board=78.0

I can move the current topics [currently in "show your stuff"] in a bit, but I was going to take a little time looking into the XDR-API. Can you give us a bit of background about the API (when did you start on it)?

Thank you. I still need to get familiar with the English interface.
I wonder if you can set up some capabilities for me to manage the XDRX API sub-forum so that I can pin some posts to the top, etc.
Title: Re: XDRX-API specific section?
Post by: pkohut on November 21, 2023, 01:05:46 AM
............

I also have websites and forums in China. In the past 20 years, there have been more than 3 million forum posts. I have written thousands of plug-in applications and various functions for everyone. As an engineer, I am not professional in writing code. I hope I can The tools written can make engineers work more efficiently.

I post here to let more people know about it, use it, and improve it together.

Knowledge is only knowledge if it is taught to others

X'  your stated record speaks for itself and the tools seem very polished, however the git repo .rar files are screaming malware.  Google chrome warns me each time the file look suspect, a VM with MS protection turned on screams suspect, you're blog post say to ignore any warnings as they are fake.  Bare minimum figure out why your tools are being flagged as malware, all stop!  Once identifed upload new files to GitHub.

Title: Re: XDRX-API specific section?
Post by: JohnK on November 22, 2023, 03:36:02 PM
I created a sub-forum called "XDR-API" located here:
https://www.theswamp.org/index.php?board=78.0

I can move the current topics [currently in "show your stuff"] in a bit, but I was going to take a little time looking into the XDR-API. Can you give us a bit of background about the API (when did you start on it)?

Thank you. I still need to get familiar with the English interface.
I wonder if you can set up some capabilities for me to manage the XDRX API sub-forum so that I can pin some posts to the top, etc.

It is possible for me to make someone a moderator of a sub forum, but I hesitate because you are still very new here and as pkohut pointed out the fact that this tool isn't "open source" does make me a bit nervous. I have no problem with people promoting their hard work but sometimes it can seem a bit odd to other programmers when they cannot see the inner workings of a solution.
Title: Re: XDRX-API specific section?
Post by: xdcad on November 22, 2023, 04:01:47 PM
I created a sub-forum called "XDR-API" located here:
https://www.theswamp.org/index.php?board=78.0

I can move the current topics [currently in "show your stuff"] in a bit, but I was going to take a little time looking into the XDR-API. Can you give us a bit of background about the API (when did you start on it)?

Thank you. I still need to get familiar with the English interface.
I wonder if you can set up some capabilities for me to manage the XDRX API sub-forum so that I can pin some posts to the top, etc.

It is possible for me to make someone a moderator of a sub forum, but I hesitate because you are still very new here and as pkohut pointed out the fact that this tool isn't "open source" does make me a bit nervous. I have no problem with people promoting their hard work but sometimes it can seem a bit odd to other programmers when they cannot see the inner workings of a solution.

I want some functions for managing sub-forums, mainly to better organize posts. Sometimes I need to pin them to the top, guide them, etc. We all make websites and know how important the role of management is.

==================

It's just an installation program (EXE)
After installation, there are only ARX, LISP, etc., at least there is no danger reported here, maybe it is a problem with the settings of my machine.

I don’t know if the friend above saw a clear prompt from my installer to ignore false positives, or if he actually encountered a system error.

==================

We are all computer users, and the system security software detects whether there are any false positives. I think everyone knows what is going on, but let me find out why the system gave my installation program a dangerous warning, and then modify it. To be honest , I really don’t have the energy and it’s not what I’m good at.

If I don't provide you with an installation program, but only download it for ARX, then everyone will not know how to do the initial setting environment etc.

==================

If you think that "you" can use my library to improve efficiency and want to use it, then I will help you selflessly.
If you think it's dangerous, just pretend it doesn't exist.

Sorry, this ARX is not open source yet. There are very complicated reasons.

I think it is not a problem whether the ARX library itself is open source or not, just like AUTOCAD's ARX, ActiveX, etc. are not open source, but everyone still uses it because it can help us.

And the LISP program I wrote through this ARX is open source
I opened a sub-forum here just to give friends who use XDRX-API a better place to communicate, so that they can better write their own LISP programs.
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 06:06:49 AM
Unfortunately I cannot install the API

Ich kann die API leider nicht Installieren
Title: Re: XDRX-API specific section?
Post by: xdcad on December 02, 2023, 06:36:44 AM
Unfortunately I cannot install the API

Ich kann die API leider nicht Installieren

Are you downloading the latest version? Did you download it from https://github.com/xdcad/XDrx-API ?
It was updated on December 2, and the prompt should not be in Chinese, but in English?
Do you use a Chinese operating system?
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 07:24:03 AM
kann nicht mehr antworten
Thanks for the quick reply
Yes, I downloaded this today.
But unfortunately it doesn't work.

I think the upload is wrong

And I don't get any English information
I'm at home in Austria


Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 07:27:23 AM
hier ein Bild
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 07:28:17 AM
und die datei
Title: Re: XDRX-API specific section?
Post by: It's Alive! on December 02, 2023, 07:53:54 AM
I'm at home in Austria

I went skiing in lermoos, stubai glacier bahn, and love Kaiserschmarrn  :smitten:
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 09:36:23 AM
tool   :-D :-D :-D
Title: Re: XDRX-API specific section?
Post by: xdcad on December 02, 2023, 11:34:14 AM
kann nicht mehr antworten
Thanks for the quick reply
Yes, I downloaded this today.
But unfortunately it doesn't work.

I think the upload is wrong

And I don't get any English information
I'm at home in Austria

December 3rd, updated and re-uploaded,
Try downloading it

https://github.com/xdcad/XDrx-API
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 01:09:41 PM
unfortunately no
leider nein
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 01:19:23 PM
Thanks, it worked now
WIN11 has a problem with this
Title: Re: XDRX-API specific section?
Post by: Hugo on December 02, 2023, 01:32:28 PM
Now there is a ZWCAD error
Thanks
Title: Re: XDRX-API specific section?
Post by: xdcad on December 02, 2023, 04:00:19 PM
Thanks, it worked now
WIN11 has a problem with this

thanks...

1. I have not installed WIN11. Do you mean that under WIN11, the installation program prompts an error, but WIN10 is normal?

2.Don’t you use AUTOCAD? The ZWCAD version of ZRX has just been transplanted and no testing has been done yet.

3. I am very curious. The API installation program does not provide xdrx.2024.x64.zrx. Is there this program under your installation directory SYS?

4. If you get an error when loading under ZWCAD, download the attachment, overwrite the files in it to the SYS directory of the API, and test it. I just debugged it under ZWCAD on my machine. Here I am. xd-lisp-lib.vls can be loaded.

5.It is recommended that you still use AUTOCAD. After all, the API has been working under it for 20 years, and ZW has just been transplanted and needs to be tested. There is no guarantee that the problem is a ZW compatibility issue or an API problem.

Thanks again....

Please download the attachment file from https://www.theswamp.org/index.php?topic=58808.0
in this post, including the new version of ZRX, but the attachment is not provided here.
Title: Re: XDRX-API specific section?
Post by: It's Alive! on December 02, 2023, 04:22:06 PM
Just a note GstarCAD has been doing great work too, they appear to have more of the geometry classes done than ZwCAD.

FYI, I noticed ZwCAD has a bug with acedDefun / acedGetFunCode and dynamically creating lisp functions
I emailed them but got no response.

Have you tried to port to BricsCAD?
 
Title: Re: XDRX-API specific section?
Post by: xdcad on December 02, 2023, 04:27:32 PM
Just a note GstarCAD has been doing great work too, they appear to have more of the geometry classes done than ZwCAD.

FYI, I noticed ZwCAD has a bug with acedDefun / acedGetFunCode and dynamically creating lisp functions
I emailed them but got no response.

Have you tried to port to BricsCAD?

Thanks Daniel,
I will transplant other CADs if possible, but I haven’t had time to do it yet.

I can get in touch with the development of ZWCAD, we use WeChat
If possible, I can relay your question to them
Title: Re: XDRX-API specific section?
Post by: It's Alive! on December 02, 2023, 04:56:53 PM
I sent ZwCAD a list of failing tests in my python wrappers.
I marked some that I felt were important, I.e., acdbConvertGelibCurveToAcDbCurve and some others

No worries though, ZRX is good enough for most things
Title: Re: XDRX-API specific section?
Post by: Hugo on December 03, 2023, 02:19:52 AM
hallo
1. Extracting in Win11 doesn't work properly

2. We want to move away from Autocad and switch to ZWCAD.
3. yes
4. I'll test that out, thanks
5. see point 2
Title: Re: XDRX-API specific section?
Post by: Hugo on December 03, 2023, 02:31:39 AM
Hi Daniel
We have had ZWCAD since the 2017 version
And it's getting better and better, we're happy with it.
Title: Re: XDRX-API specific section?
Post by: xdcad on December 03, 2023, 03:52:50 AM
hallo
1. Extracting in Win11 doesn't work properly

2. We want to move away from Autocad and switch to ZWCAD.
3. yes
4. I'll test that out, thanks
5. see point 2

Okay, if you encounter any problems under ZWCAD, please post it and I will try my best to solve it after I see it.
Title: Re: XDRX-API specific section?
Post by: Hugo on December 03, 2023, 04:10:48 AM
OK, I'll do it, thank you
Title: Re: XDRX-API specific section?
Post by: Hugo on December 03, 2023, 11:32:17 AM
Do you also have a few examples where you can rotate the block and the attribute always remains readable
Danke
Title: Re: XDRX-API specific section?
Post by: xdcad on December 03, 2023, 11:56:55 AM
Do you also have a few examples where you can rotate the block and the attribute always remains readable
Danke

Do you mean that no matter how the block is rotated, the attribute text always remains horizontal?
Please upload a BLOCK DWG
Title: Re: XDRX-API specific section?
Post by: Hugo on December 03, 2023, 12:56:29 PM
anbei die dwg
Title: Re: XDRX-API specific section?
Post by: xdcad on December 03, 2023, 10:15:47 PM
anbei die dwg

go try:

http://www.theswamp.org/index.php?topic=58836.0

(http://www.theswamp.org/index.php?action=dlattach;topic=58836.0;attach=41729;image)
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 12:15:18 AM
Unfortunately not quite tomorrow
I get an error message
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 12:39:25 AM
in ZWCAD almost perfect.
Title: Re: XDRX-API specific section?
Post by: xdcad on December 04, 2023, 02:17:11 AM
Unfortunately not quite tomorrow
I get an error message

If this error occurs every time, then upload the DWG
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 02:42:49 AM
The handles on the block are then gone and I can no longer save the dwg
Title: Re: XDRX-API specific section?
Post by: xdcad on December 04, 2023, 03:18:15 AM
in ZWCAD almost perfect.

Originally, I did not consider handling the 270-degree situation. Now I have modified the code, mainly the function XD::Text:Adjust

Go and copy this function back and test it
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 03:28:46 AM
The rotation now works but I get this message 5 times. And then you can no longer save the dwg.
The dwg is then broken.
Danke
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 04:01:23 AM
I found the error: the block can only have 1 attribute then it works
Thanks
can this be fixed?
Title: Re: XDRX-API specific section?
Post by: xdcad on December 04, 2023, 04:38:45 AM
The handles on the block are then gone and I can no longer save the dwg

Go and copy the XD::TEXT:ADJUST function again and try

In addition, regarding the problem of this code, it is best to post it under the plug-in post for easy tracking. Thank you.
Title: Re: XDRX-API specific section?
Post by: domenicomaria on December 04, 2023, 07:20:59 AM
Is there anyone who managed to register on this site

http://bbs.xdcad.net/ (http://bbs.xdcad.net/) ?

If you succeeded, could you kindly explain to me how to do it?
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 07:27:31 AM
No, I didn't manage that either.
Title: Re: XDRX-API specific section?
Post by: xdcad on December 04, 2023, 07:40:08 AM
Is there anyone who managed to register on this site

http://bbs.xdcad.net/ (http://bbs.xdcad.net/) ?

If you succeeded, could you kindly explain to me how to do it?

Ordinary registration has been activated, no need to go through QQ. Try it again and let me know the result.
Title: Re: XDRX-API specific section?
Post by: domenicomaria on December 04, 2023, 11:06:18 AM
@xdcad
Quote
Ordinary registration has been activated, no need to go through QQ. Try it again and let me know the
result.

the gmail.com domain is not supported

I provided 2 other different email addresses,
and I'm waiting to receive an email to confirm the registration and to choose a password, I suppose, ...

...but the email doesn't arrive...
Title: Re: XDRX-API specific section?
Post by: xdcad on December 04, 2023, 01:16:05 PM
@xdcad
Quote
Ordinary registration has been activated, no need to go through QQ. Try it again and let me know the
result.

the gmail.com domain is not supported

I provided 2 other different email addresses,
and I'm waiting to receive an email to confirm the registration and to choose a password, I suppose, ...

...but the email doesn't arrive...

I sent you a message and I directly registered a user for you.
Title: Re: XDRX-API specific section?
Post by: domenicomaria on December 04, 2023, 09:02:06 PM
@xdcad
Quote
I directly registered a user for you
thank you !
Title: Re: XDRX-API specific section?
Post by: Hugo on December 04, 2023, 11:54:57 PM
It didn't work for me either