Hi there,
I was trying some contol driven geometry and discovered some graphic problems. (At least here on ABD update3).
Here a testcase: the first genetration of geometry is successful but then playing with sliders gives unwanted results.
Assigning 'OffsetAboveSurface = Height;' to solid1 even gives more unwanted trouble
transaction 1 modelChange 'Add baseCS, cs1' { node User.Objects.baseCS Bentley.GC.NodeTypes.CoordinateSystem { Technique = 'AtModelOrigin'; DGNModelName = 'Design Model'; SymbolSize = 1; GraphLocation = <auto> {40.0, 40.0, 0.0, 115.59}; } node User.Objects.cs1 Bentley.GC.NodeTypes.CoordinateSystem { Technique = 'ByCartesianCoordinates'; CoordinateSystem = baseCS; XTranslation = <free> 4.77462954680272; YTranslation = <free> -2.11263502763131; ZTranslation = <free> 3.88403542625826; GraphLocation = <auto> {40.0, 195.59, 0.0, 155.87}; } } transaction 2 modelChange 'Add DistX, DistY, NumX, NumY, Offset' { node User.Objects.Offset Bentley.GC.NodeTypes.Slider { Technique = 'Default'; Value = 0.5; Maximum = 1; Resolution = 0.1; TickInterval = 0.1; GraphLocation = <auto> {314.0, 40.0, 0.0, 139.237}; } node User.Objects.DistY Bentley.GC.NodeTypes.Slider { Technique = 'Default'; Value = 5.48717948717949; Maximum = 20; Resolution = 1; GraphLocation = <auto> {314.0, 219.237, 0.0, 139.237}; } node User.Objects.NumY Bentley.GC.NodeTypes.Slider { Technique = 'Default'; Value = 5.53846153846154; Maximum = 20; Resolution = 1; GraphLocation = <auto> {314.0, 398.473, 0.0, 139.237}; } node User.Objects.DistX Bentley.GC.NodeTypes.Slider { Technique = 'Default'; Value = 5.48717948717949; Maximum = 20; Resolution = 1; GraphLocation = <auto> {314.0, 577.71, 0.0, 139.237}; } node User.Objects.NumX Bentley.GC.NodeTypes.Slider { Technique = 'Default'; Value = 5.53846153846154; Maximum = 20; Resolution = 1; GraphLocation = <auto> {314.0, 756.947, 0.0, 139.237}; } } transaction 3 modelChange 'Add pt1' { node User.Objects.pt1 Bentley.GC.NodeTypes.Point { Technique = 'ByCartesianCoordinates'; CoordinateSystem = cs1; XTranslation = Series(0,NumX*DistX,DistX); YTranslation = Series(0,NumY*DistY,DistY); ZTranslation = 0; Replication = ReplicationOption.AllCombinations; GraphLocation = <auto> {588.0, 40.0, 0.0, 155.87}; } } transaction 4 modelChange 'Add Heigth' { node User.Objects.Heigth Bentley.GC.NodeTypes.Slider { Technique = 'Default'; Value = 3.5; Maximum = 8; Resolution = 0.5; TickInterval = 0.2; GraphLocation = <auto> {862.0, 40.0, 0.0, 139.237}; } } transaction 5 modelChange 'Add polygon1, polygon2' { node User.Objects.polygon1 Bentley.GC.NodeTypes.Polygon { Technique = 'ByVertices'; VertexPoints = {pt1[0][0],pt1[NumX][0],pt1[NumX][NumY],pt1[0][NumY]}; GraphLocation = <auto> {1136.0, 40.0, 0.0, 115.59}; } node User.Objects.polygon2 Bentley.GC.NodeTypes.Polygon { Technique = 'Offset'; PolygonToOffset = polygon1; OffsetMethod = OffsetMethod.ByDistance; OffsetPoint = cs1; OffsetDistance = -Offset; ConstructionsVisible = true; IsConstruction = true; GraphLocation = <auto> {1136.0, 195.59, 0.0, 155.87}; } } transaction 6 modelChange 'Add pt2' { node User.Objects.pt2 Bentley.GC.NodeTypes.Point { Technique = 'ByCartesianCoordinates'; CoordinateSystem = {cs1}; XTranslation = Offset/2; YTranslation = Offset/2; ZTranslation = <free> 0.0; GraphLocation = <auto> {1410.0, 40.0, 0.0, 155.87}; } } transaction 7 modelChange 'Add bsplineSurface1, bsplineSurface3' { node User.Objects.bsplineSurface1 Bentley.GC.NodeTypes.BSplineSurface { Technique = 'FromClosedCurve'; ClosedCurve = polygon1; GraphLocation = <auto> {1684.0, 40.0, 0.0, 115.59}; } node User.Objects.bsplineSurface3 Bentley.GC.NodeTypes.BSplineSurface { Technique = 'TrimByProjectedCurve'; SurfaceToTrim = bsplineSurface1; TrimCurve = polygon2; SelectorPoint = pt2; GraphLocation = <auto> {1684.0, 195.59, 0.0, 142.443}; } } transaction 8 modelChange 'Add solid1' { node User.Objects.solid1 Bentley.GC.NodeTypes.Solid { Technique = 'OffsetFromSurface'; SurfaceToOffset = bsplineSurface3; OffsetAboveSurface = 3; OffsetBelowSurface = 0; GraphLocation = <auto> {1958.0, 40.0, 0.0, 142.443}; } }
Ingo