You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, thanks for the author's contribution, let me have the opportunity to use libredwg in my work, now I encounter a problem, such as I read the Dwg_Entity_LINE, insert points I can easily get, but for example, how to obtain the "layer" and "ltype" but no idea, do you have any relevant routines? thanks
for (i = 0; i < dwg.num_objects; i++)
{
switch (dwg.object[i].fixedtype)
{
case DWG_TYPE_LINE:
{line = dwg.object[i].tio.entity->tio.LINE;
color=dwg.object[i].tio.entity->color;
//layer=??
//ltype=??
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, thanks for the author's contribution, let me have the opportunity to use libredwg in my work, now I encounter a problem, such as I read the Dwg_Entity_LINE, insert points I can easily get, but for example, how to obtain the "layer" and "ltype" but no idea, do you have any relevant routines? thanks
for (i = 0; i < dwg.num_objects; i++)
{
switch (dwg.object[i].fixedtype)
{
case DWG_TYPE_LINE:
{line = dwg.object[i].tio.entity->tio.LINE;
color=dwg.object[i].tio.entity->color;
//layer=??
//ltype=??
Beta Was this translation helpful? Give feedback.
All reactions