Any method to know the authoring CAD software [SOLVED]

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
arun
Active Member
Posts: 34
Joined: Tue May 09, 2023 9:04 am

Any method to know the authoring CAD software [SOLVED]

Post by arun » Tue Jun 27, 2023 8:27 am

Hi,

I have been wondering if there is any method in QCAD to check on the authoring CAD software that a particular drawing (.dwg file) is done through QCAD script?

I am using QCAD 3.28.1 on linux

Thanks,
Arun
Last edited by arun on Tue Jun 27, 2023 9:43 am, edited 1 time in total.

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Any method to know the authoring CAD software

Post by andrew » Tue Jun 27, 2023 8:37 am

No. But you could mark documents that are created with your script with a document variable. For example:

Code: Select all

document.setVariable("MyScript/Version", "1.0.0");
This is stored in DXF/DWG as XData.

arun
Active Member
Posts: 34
Joined: Tue May 09, 2023 9:04 am

Re: Any method to know the authoring CAD software

Post by arun » Tue Jun 27, 2023 8:58 am

Got it Andrew.
I was curious to find out the detail of the .dwg files that I receive :wink:

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”