![]() Using Ī ĭb.TransactionManager.StartTransaction() ![]() As I've simply copied the properties of an existing linetype, please don't ask me to explain what they all mean. I decided to call the new linetype "COLD_WATER_SUPPLY", and have it resemble the original in every way but placing "CW" in the middle segment, rather than "HW" (with the descriptions updated to match, of course). Here's what the SNOOPDB command - defined by the ArxDbg application - showed for the loaded linetype:įrom there it was fairly straightforward to determine the code needed to create our own complex linetype containing text segments. I then looked at the contents of the linetype table using ArxDbg (the ObjectARX SDK sample that is very helpful for understanding drawing structure). In order to understand what properties needed setting, I first loaded the HOT_WATER_SUPPLY linetype from acad.lin (using the LINETYPE command): ![]() It turned out to be quite a bit more complicated to make a linetype containing text than merely calling SetTextAt() on one of the segments. is it possible to programmitically add text in as well? I've tried using ltr.SetTextAt(1, "TEST") but so far i've had no luck, any suggestions? Kean, i tried you code and it works great and it also got me thinking. In my last post we saw some code to create a simple linetype using.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |