MultiLine Attributes change to SingleLine when cloned
Wout
6/15/2022 10:05 PM
|
---|
Hi,
You're right, the method was a little to simplistic.
I've added method DxfInsertBase.ApplyBasicBlockInsertionTransformationToAttributes which applies the complete BasicBlockInsertionTransformation to each attribute.
- Wout
|
FizixMan
6/22/2022 7:13 PM
|
---|
Thanks Wout.
After a lot of hair pulling, I finally got it merged and working with our code base. I was losing my mind with really odd behaviour in the production code versus the snippets posted here. Eventually I figured out that our production code, deep down, was using the parameterless "new DxfModel()" constructor which defaults to DxfVersion.27. But this produces entirely different results for the multilines than DxfVersion.32. I assume this is because v27 of the DXF specification doesn't support them, eh?
Anyway, thanks for all your work bouncing this back and forth. Glad to finally have it working.
|
Wout
6/22/2022 7:25 PM
|
---|
Hi,
Yes, R27 doesn't support multiline attributes indeed.
I'll change the DxfModel constructor to default to R32 in the next version, that makes more sense.
- Wout
|