几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】exporting overriden layer (http://www.dimcax.com/hust/showthread.php?t=16247)

yang686526 2009-05-05 10:33 AM

【转帖】exporting overriden layer
 
exporting overriden layer
exporting overriden layer
this is a question related to exporting entities on overriden layers.
i have two lines l1 & l2 in a drawing; both lines are on layer1. the default color of layer1 is black.
i have overriden the properties of l2; lets say i override its color to red. but it still lies on layer1.
after exporting this drawing to dwg, both the lines are on layer1 as expected but both of them are black. i intend to retain their individual colors while they lie on the same layer.
appreciate your help.
thank you.
something is wrong with your export (if in autocad both lines are black).
what do you mean by overriding the line color?
the color of entity is set by oddbentity::setcolor() or oddbentity::setcolorindex().
sergey slezkin


所有的时间均为北京时间。 现在的时间是 06:13 PM.