I created 3 shapes with SKILL routine. And I want to change the shape's fill style from solid to crosshatch.
But I met a problem with the voids. Sometimes, some of the old voids are dispear, some of them are correct.
Below is the codes, which I simplified them:
;;Before running the SKILL tool, Shape is filled in Solid, and Shape1, Shape2 are filled in Hori_Vert.
;;Now I want to change Shape's fill sytle with myfill.
Layer="board geometry/test_layer" ;;The test_layer is an example
myfill1=make_axlFill(?angle 45, ?origin 0:0, ?width 0.127, ?spacing 2.54)
myfill2=make_axlFill(?angle 135, ?origin 0:0, ?width 0.127, ?spacing 2.54)
myfill=list(myfill1 myfill2) ;;to define the fill style
axlDBCreateShape(car(axlPolyFromDB(Shape)), myfill, Layer, nil, nil); To create a new shape
I have tried to use the function: axlDBCreateOpenShape, axlDBCreateVoid and axlDBCreateCloseShape. But it is same situation.
What is the reason?