Hello,
Question1:
---------------------------------------
The change of the scale inside Allplan has no effect to the SmartPart. It's right, that you have to "Refresh" it. I think, the aim is, to get different representations at different scales. A better solution for this would be, if you create different foils for that.
The commands are: DEFINE FOIL and FOIL
Here an example:
DEFINE FOIL "50" 1,0,
0, !from scale
50, !to sclae
0,0,0,!ref pnt1 x,y,z
0,0,0,!ref pnt2 x,y,z
1,1,1,!layer a,b,c
0,1,2 !scale x,y,z
DEFINE FOIL "100" 1,0,
51, !from scale
100, !to sclae
0,0,0,!ref pnt1 x,y,z
0,0,0,!ref pnt2 x,y,z
1,1,1,!layer a,b,c
0,1,2 !scale x,y,z
FOIL "50"
RECT2 0 , 0 , REF_X , REF_Y
FOIL "100"
CIRCLE2 ref_x/2,ref_y/2,ref_x/2
If you now change the scale, ther smartpart change the representation (without Refresh!)
At 1:50 there is an Rectangle, at 1:100 there is an Circle...
Question 2
--------------------------------------------------------
If you want to have contour and filling separatly, the you have to call poly2 with different flags: