View Single Post
Old 02-12-2010, 04:50 PM   #1 (permalink)
grichards
Senior Member
 
Join Date: Jul 2008
Location: Olympia, WA
Posts: 342
grichards is a jewel in the roughgrichards is a jewel in the roughgrichards is a jewel in the roughgrichards is a jewel in the rough
Send a message via Skype™ to grichards
Default autoCad layer color bug

1) create a "dTools" block in a block library (drawingA)
2) verify the block has an object with layer: MY_LAYER and the color is set to 123
3) tie the block in drawingA to dTools productX
4) open a dTools aCad drawing (drawingB)
5) verify that drawingB has a layer: MY_LAYER and the color is set to 456
6) add productX to drawingB

what i would expect to happen:
drawingB retains color 456 for MY_LAYER

what happens instead:
drawingB adopts color 123 for MY_LAYER


When adding a block in autoCad, the matching layers of the added block should conform to that of the drawing. This may be modifiable as an autoCad setting, but dTools changes the drawing layer info when it shouldn't regardless of any autoCad settings. This bug appears in both autoCad 2008 and 2009.

additional note:
when adding a block directly from a library and THEN selecting a product, the layer color (and presumably other layer info) is retained correctly. THIS IS NOT AN ACCEPTABLE WORKAROUND, im simply stating it to point out that the dTools "add Product" routines are inconsistent. Layer information should be retained by the drawing and NOT adopted by blocks added to the drawing.
__________________
Systems Technician/Crestron Certified Programmer
www.ccisolutions.com
[SIGPIC][/SIGPIC]

Last edited by grichards; 02-12-2010 at 04:53 PM.
grichards is offline   Reply With Quote