Writes a entity in DXF file LTCustomizer21 for AutoCAD LT reference manual
ActiveX
Function write_DXFentities(group_code As Integer, value As String) As Boolean
C/C++
int WINAPI LTC_write_DXFentities(short group_code,const wchar_t *value);
parameter
group_code:DXF group code
value: value corresponded to group_code
return value
ActiveX: True: success .False: failure
C/C++: 1: success .0: failure
This function can make all DXF data (ENTITIES section only).
But LTCustomizer21 provides special functions to make specific data types because of beginner.
For instance,following codes shows making of line data using write_DXFentities().
write_DXFentities(0,"LINE") ' same as "line 0,0,0 1,1,1" in acad command libe
write_DXFentities(10,"0.0") 'start point X coordinate
write_DXFentities(20,"0.0") 'start point Y coordinate
write_DXFentities(30,"0.0") 'start point Z coordinate
write_DXFentities(11,"1.0") 'end point X coordinate
write_DXFentities(21,"1.0") 'end point Y coordinate
write_DXFentities(31,"1.0") 'end point Z coordinate