Custom Layer Property Maximum Size
Posted: Tue Oct 10, 2017 12:03 pm
Hi there,
I seem to have bumped up against a QCAD limitation in custom property size, in particular in the maximum size of data allowed in a custom layer property. I am storing JSON strings in custom layer properties, and one of them was quite a bit larger than the rest, at around 14 or 15 K bytes. (Mostly, they were much less than 1K.)
What happens is that the large custom property is silently dropped from the DXF, and my testing leads me to believe that the behaviour is caused by the large size of the property text, because reducing the size progressively resulted in reaching the point where the property would no longer be dropped from the DXF. (I think it was around 8K or 10K, something like that.)
Would it be possible to increase the maximum size allowed in custom properties to, say, 20KB? I guess there must be some reasonable limit for memory management purposes?
Kind regards,
David
I seem to have bumped up against a QCAD limitation in custom property size, in particular in the maximum size of data allowed in a custom layer property. I am storing JSON strings in custom layer properties, and one of them was quite a bit larger than the rest, at around 14 or 15 K bytes. (Mostly, they were much less than 1K.)
What happens is that the large custom property is silently dropped from the DXF, and my testing leads me to believe that the behaviour is caused by the large size of the property text, because reducing the size progressively resulted in reaching the point where the property would no longer be dropped from the DXF. (I think it was around 8K or 10K, something like that.)
Would it be possible to increase the maximum size allowed in custom properties to, say, 20KB? I guess there must be some reasonable limit for memory management purposes?
Kind regards,
David