Hi,
I am looking for information of custom properties, which are available in the property editor. Obviously they are able to store Name::Value pairs, both Name and Value beeing a string. But I cannot find any info, neither in helpfiles, nor in the QCAd book.
I am especially interested if this mechanism has any limits. In paritcular:
- length of name part
- length of value part
- number of Name::Value entries
Can anybody help me with this info, or where I can find it?
Thanks in advance!
Ulrich
Limits of custom properties
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Limits of custom properties
QCAD itself does not impose any limits on these.mink wrote:- length of name part
- length of value part
However, the DXF / DWG format does. QCAD saves these name / value pairs as one string XData property with the format "key:value" to DXF / DWG. This means that key may not contain a colon ":" and the total length of key + colon + value may not exceed the odd value of 8173 bytes which seems to be the limit imposed by the DXF / DWG format. Note that older DXF / DWG formats may have a different limit or may not support custom properties (XData) at all.
I couldn't find a definitive answer for this. There is likely no limit imposed by the file format for this.mink wrote:- number of Name::Value entries
Re: Limits of custom properties
Thanks for the imediate anwer! That are limits I can live with!
Regards and have a nice weekend!
Ulrich
Regards and have a nice weekend!
Ulrich