Andrew,
To extract an orphanated hatch pattern Tile2Hatch has to check the QCAD framework being 3.25.2.1 or later.
What is best practice?
RSettings.getNumericalVersionString()
- Application version as 01020304 for 1.2.3.4
RSettings.getIntValue("Application/Version", 0)
- Stored Application version from QCAD.ini as 01020304 for 1.2.3.4
I asume the leading zero is a typo for a Number type.
The other option is library.js
Why does requiresFramework uses 3 digits per section?
What to pass here as maxVersion array if a maximum is not defined?
Regards,
CVH
[SOLVED] framework version
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
[SOLVED] framework version
Last edited by CVH on Mon Oct 26, 2020 6:01 pm, edited 2 times in total.
Re: framework version
I'd use:
Code: Select all
if (RSettings.getCurrentVersion()>=3250201) {
...
}
Re: framework version
Thanks for the advise ...
All where prepared, used the isSmaler variant to rule thing out.
An lazy edit later ....
Regards,
CVH
All where prepared, used the isSmaler variant to rule thing out.
An lazy edit later ....
Regards,
CVH