dwgread generate json doc #900
-
i use dwgread generate json file successfully, but i don't understand the meaning of each word such as FILLMODE in HEADER, number in CLASSES, is there any doc that explain these word? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Any DWG or DXF documentation would explain those terms. We are only using established terms by the standard 3rd party application vendors. |
Beta Was this translation helpful? Give feedback.
-
All these types are explained in our docs, the oda spec and in the header. As 2) do you have an example? |
Beta Was this translation helpful? Give feedback.
-
您好,我刚接触libredwg,并且上周已经搭建好环境在VS2010, |
Beta Was this translation helpful? Give feedback.
-
你好呀,我上周才刚刚接触libredwg,
你的问题我暂时还没有接触到,
我的情况是刚刚把环境搭建好,用的vs2010,
我按照例程才刚刚可以读取到线,圆,文字,
现在我遇到一个问题,如果你可以解答那我是非常高兴的:)
例如下面的程序片断,
当读取一个线段实体时,他的颜色我会读取了,但是例如层和线型等是如何获得的呢?
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=??//
多谢您的解答
其他内容还没有开始做
***@***.***
From: xiaoliangW
Date: 2023-12-26 16:08
To: LibreDWG/libredwg
CC: iisaxin; Comment
Subject: Re: [LibreDWG/libredwg] dwgread generate json doc (Discussion #900)
1.Could you provide some document addresses? i still don't find where to explain these json field
json_field.jpg (view on web)
2.i can't upload dwg in this place, i add some chinese words in test-data/2018/line.dwg.
line-test.jpg (view on web)
to json,it is :
line-json.jpg (view on web)
to geojson,it is:
line-geojson.jpg (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Any DWG or DXF documentation would explain those terms. We are only using established terms by the standard 3rd party application vendors.