cart: empty [ Login ]

Adding a new DxfTextStyle with an already existing name throws no exception

1 
Sandeep Bhat
5/24/2022 1:29 PM
Hi, I am trying to add new DxfTextStyles to a newly created model. By default a new instance of DxfModel contains a 'Standard' DxfTextStyle. Now I want to add another 5 DxfStyle to my model and one of them happens to have the same name 'Standard', but with a different font. If I try this in AutoCad I get an error, but CadLib lets me add without any problem. But when I open the drawing in Autocad, I can see both the DxfTextStyles. Is this expected behavior? I cannot clear the DxfTextStyles before adding any new because it looses it reference to DefautTextStyle. Your thoughts?
1