几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】problem with complex linetypes (http://www.dimcax.com/hust/showthread.php?t=18099)

yang686526 2009-05-06 11:10 PM

【转帖】problem with complex linetypes
 
problem with complex linetypes
problem with complex linetypes
hello!
can anyone tell me if the information i get from the following methods has got anything to do with complex linetypes (linetypes defined in an .shx-file)?
and if they have got anything to do with them what does this information mean, how can i use this information for drawing lines with complex linetypes?
here are the methods:
- shapeisucsorientedat
- shapenumberat
- shapeoffsetat
- shaperotationat
- shapescaleat
- shapestyleat
especially what does the infromation i get from the method "shapestyleat" tell me?
each linetype dash can have text or shape associated with it. shapes are defined in .shx file.
shapestyleat() returns id of textstyletablerecord representing .shx file where shape is defined.
shape number is the number in the .shx
other values are parameters of shape insertion.
you need not implement drawing of complex linetypes manually. dwgdirect vectorization framework does this job.
thank you!


所有的时间均为北京时间。 现在的时间是 10:49 AM.