Line type check
Posted: 11 May 2022, 19:19
Hello, I am new to CAD file management, and my question is:
How can I determine the line type af an entity ?
I have tried with the "lineEnt(I).LineType.DashStyle" property, but it has always "Solid {0}" value even if the shape has dash dot line.
The "lineEnt(I).LineType.EntName" seems to be better because value is string "Continuous" in case of continuous line or "CENTERX2" in case of dash dotted line, is this the correct property to check ?
I think it is not a good idea to check a string content for evaluate a property like this, i do not know how many different values the property "lineEnt(I).LineType.EntName" can have.
Thank you
How can I determine the line type af an entity ?
I have tried with the "lineEnt(I).LineType.DashStyle" property, but it has always "Solid {0}" value even if the shape has dash dot line.
The "lineEnt(I).LineType.EntName" seems to be better because value is string "Continuous" in case of continuous line or "CENTERX2" in case of dash dotted line, is this the correct property to check ?
I think it is not a good idea to check a string content for evaluate a property like this, i do not know how many different values the property "lineEnt(I).LineType.EntName" can have.
Thank you