patrick.callewier
2004-10-20, 03:11 PM
Problem with AMCONVDWG routine.
We use this script routine to convert drawings to the mechanical layers/groups
by creating a ccf file you can easily convert drawings
Example
[ENTITY]
original entity => new layer
Layername:Linetype:Color:Lineweight => Layername:Linetype:Color:Lineweight
0:BYLAYER:BYLAYER:BYLAYER => *:*:*:*
CONTOUR:BYLAYER:5:BYLAYER => AM_6:BYLAYER:BYLAYER:BYLAYER
this used to work fine but now in mechanical 2005 this function doesn't work any more,
when you specify any color, linetype,linewieght.. this function deosn't work
CONTOUR:*:*:* => AM_6:BYLAYER:BYLAYER:BYLAYER
when using will cards it works, but in this way you can only convert layers to any other layer.
Any solution?
We use this script routine to convert drawings to the mechanical layers/groups
by creating a ccf file you can easily convert drawings
Example
[ENTITY]
original entity => new layer
Layername:Linetype:Color:Lineweight => Layername:Linetype:Color:Lineweight
0:BYLAYER:BYLAYER:BYLAYER => *:*:*:*
CONTOUR:BYLAYER:5:BYLAYER => AM_6:BYLAYER:BYLAYER:BYLAYER
this used to work fine but now in mechanical 2005 this function doesn't work any more,
when you specify any color, linetype,linewieght.. this function deosn't work
CONTOUR:*:*:* => AM_6:BYLAYER:BYLAYER:BYLAYER
when using will cards it works, but in this way you can only convert layers to any other layer.
Any solution?