找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 936|回复: 4

[求助]:线粗LineWeight对应的DXF码是什么?谢谢!

[复制链接]
发表于 2002-6-26 09:38:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
如题
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
 楼主| 发表于 2002-6-27 08:57:10 | 显示全部楼层
谢谢斑竹!
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2002-6-28 17:56:28 | 显示全部楼层

来个完整的

The following table gives the group code or group code range accompanied by an explanation of the group code value. In the table, "fixed" indicates that the group code always has the same purpose. If a group code isn't fixed, its purpose depends on the context. For information about abbreviations and formatting used in this table, see "Formatting Conventions in This Reference."

Group codes by number

Group code        Description
?        APP: persistent reactor chain
?        APP: conditional operator (used only with ssget)
?        APP: extended data (XDATA) sentinel (fixed)
?        APP: entity name reference (fixed)
?        APP: entity name. The name changes each time a drawing is opened. It is never saved (fixed)
0        Text string indicating the entity type (fixed)
1        Primary text value for an entity
2        Name (attribute tag, block name, and so on)
3?        Other text or name values
5        Entity handle; text string of up to 16 hexadecimal digits (fixed)
6        Linetype name (fixed)
7        Text style name (fixed)
8        Layer name (fixed)
9        DXF: variable name identifier (used only in HEADER section of the DXF file)
10        Primary point; this is the start point of a line or text entity, center of a circle, and so on
DXF: X value of the primary point (followed by Y and Z value codes 20 and 30)
APP: 3D point (list of three reals)
11?8        Other points
DXF: X value of other points (followed by Y value codes 21?8 and Z value codes 31?8)
APP: 3D point (list of three reals)
20, 30        DXF: Y and Z values of the primary point
21?8, 31?7        DXF: Y and Z values of other points
38        DXF: entity's elevation if nonzero
39        Entity's thickness if nonzero (fixed)
40?8        Floating-point values (text height, scale factors, and so on)
48        Linetype scale; floating-point scalar value; default value is defined for all entity types
49        Repeated floating-point value. Multiple 49 groups may appear in one entity for variable-length tables (such as the dash lengths in the LTYPE table). A 7x group always appears before the first 49 group to specify the table length
50?8        Angles (output in degrees to DXF files and radians through AutoLISP and ObjectARX applications)
60        Entity visibility; integer value; absence or 0 indicates visibility; 1 indicates invisibility
62        Color number (fixed)
66        "Entities follow" flag (fixed)
67        Space梩hat is, model or paper space (fixed)
68        APP: identifies whether viewport is on but fully off screen; is not active or is off
69        APP: viewport identification number
70?8        Integer values, such as repeat counts, flag bits, or modes
90-99        32-bit integer values
100        Subclass data marker (with derived class name as a string). Required for all objects and entity classes that are derived from another concrete class. The subclass data marker segregates data defined by different classes in the inheritance chain for the same object.
This is in addition to the requirement for DXF names for each distinct concrete class derived from ObjectARX (see "Subclass Markers")
102        Control string, followed by "{<arbitrary name>" or "}". Similar to the xdata 1002 group code, except that when the string begins with "{", it can be followed by an arbitrary string whose interpretation is up to the application. The only other control string allowed is "}" as a group terminator. AutoCAD does not interpret these strings except during drawing audit operations. They are for application use
105        Object handle for DIMVAR symbol table entry
210        Extrusion direction (fixed)
DXF: X value of extrusion direction
APP: 3D extrusion direction vector
220, 230        DXF: Y and Z values of the extrusion direction
280-289        8-bit integer values
290-299        Boolean flag value
300-309        Arbitrary text strings
310-319        Arbitrary binary chunks with same representation and limits as 1004 group codes: hexadecimal strings of up to 254 characters represent data chunks of up to 127 bytes
320-329        Arbitrary object handles; handle values that are taken "as is." They are not translated during INSERT and XREF operations
330-339        Soft-pointer handle; arbitrary soft pointers to other objects within same DXF file or drawing. Translated during INSERT and XREF operations
340-349        Hard-pointer handle; arbitrary hard pointers to other objects within same DXF file or drawing. Translated during INSERT and XREF operations
350-359        Soft-owner handle; arbitrary soft ownership links to other objects within same DXF file or drawing. Translated during INSERT and XREF operations
360-369        Hard-owner handle; arbitrary hard ownership links to other objects within same DXF file or drawing. Translated during INSERT and XREF operations
370-379        Lineweight enum value (AcDb::LineWeight). Stored and moved around as a short. Custom non-entity objects may use the full range, but entity classes only use 371-379 DXF group codes in their representation, because AutoCAD and AutoLISP both always assume a 370 group code is the entity's lineweight. This allows 370 to behave like other "common" entity fields.
380-389        PlotStyleName type enum (AcDb::PlotStyleNameType). Stored and moved around as a short. Custom non-entity objects may use the full range, but entity classes only use 381-389 DXF group codes in their representation, for the same reason as the Lineweight range above.
390-399        String representing handle value of the PlotStyleName object, basically a hard pointer, but has a different range to make backward compatibility easier to deal with. Stored and moved around as an Object ID (a handle in DXF files) and a special type in AutoLISP. Custom non-entity objects may use the full range, but entity classes only use 391-399 DXF group codes in their representation, for the same reason as the Lineweight range above.
400-409        16-bit Integers
410-419        String
999        DXF: The 999 group code indicates that the line following it is a comment string. SAVEAS does not include such groups in a DXF output file, but OPEN honors them and ignores the comments. You can use the 999 group to include comments in a DXF file that you've edited
1000        ASCII string (up to 255 bytes long) in extended data
1001        Registered application name (ASCII string up to 31 bytes long) for extended data
1002        Extended data control string ("{"or "}")
1003         Extended data layer name
1004        Chunk of bytes (up to 127 bytes long) in extended data
1005        Entity handle in extended data; text string of up to 16 hexadecimal digits
1010        A point in extended data
DXF: X value (followed by 1020 and 1030 groups)
APP: 3D point
1020, 1030        DXF: Y and Z values of a point
1011        A 3D world space position in extended data
DXF: X value (followed by 1021 and 1031 groups)
APP: 3D point
1021, 1031        DXF: Y and Z values of a world space position
1012        A 3D world space displacement in extended data
DXF: X value (followed by 1022 and 1032 groups)
APP: 3D vector
1022, 1032        DXF: Y and Z values of a world space displacement
1013        A 3D world space direction in extended data.
DXF: X value (followed by 1022 and 1032 groups)
APP: 3D vector
1023, 1033        DXF: Y and Z values of a world space direction
1040        Extended data floating-point value
1041        Extended data distance value
1042        Extended data scale factor
1070        Extended data 16-bit signed integer
1071        Extended data 32-bit signed long
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2002-7-22 18:49:53 | 显示全部楼层
where are the code above u put here from?
can u tell me.or give me here?
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

已领礼包: 23个

财富等级: 恭喜发财

发表于 2002-7-22 19:35:20 | 显示全部楼层
最初由 hanahana 发布
[B]where are the code above u put here from?
can u tell me.or give me here? [/B]



这是AutoCAD自带的DXF参考中的内容啊..hehe...你居然不看帮助文档...

明经通道 那里有此参考的中文译本,极具参考价值!
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-12-25 14:34 , Processed in 0.458440 second(s), 40 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表