ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AcDbLinetypeTableRecord - line type format?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
771 Views, 1 Reply

AcDbLinetypeTableRecord - line type format?

Let's say we have a .lin file with the following definition:

 

*MyLine, --- MINE ---

A,5.0,-2.0,["MY",TTLBLK,S=4.0,X=0.0,Y=-1.5],-2.0

 

When using the AcDbLinetypeTableRecord to retrieve this information about a line, how in the heck do I get the second row of information?

 

"MyLine" is retrieved using AcDbEntity::linetype

 

"--- MINE ---" is retrieved using AcDbLinetypeTableRecord::comments
Do I have to rebuild the "A,5.0,-2.0,["MY",TTLBLK,S=4.0,X=0.0,Y=-1.5],-2.0" bit using various methods from AcDbLinetypeTableRecord?
I could parse the *.lin file on my own but that would mean I would require the user to always supply the correct *.lin file with their DWG file.
Appreciate any pointers.
Thanks,
--Darrell

 

Tags (1)
1 REPLY 1
Message 2 of 2
artc2
in reply to: Anonymous

Yes, you would need to recreate the second line from the data you get from various AcDbLinetypeTableRecord methods.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost