// Bentley GenerativeComponents Transaction File -- File structure version 1.03. (Please do not delete or change this line.) environment { GCVersion = "08.09.04.76"; MSVersion = "08.09.04.51"; MSProject = "GC_Default"; MSDesignFile = "C:\\Documents and Settings\\All Users\\Dati applicazioni\\Bentley\\Workspace\\projects\\examples\\GC_Default\\out\\$gcworkdgn.tmp"; } transaction modelBased "surface" { feature bsplineSurface01 GC.BSplineSurface { Poles = {{point01,point02,point03,point04},{point05,point06,point07,point08},{point09,point10,point11,point12}}; } feature point01 GC.Point { CoordinateSystem = baseCS; XTranslation = (3.52951541951654); YTranslation = (9.92702870344985); ZTranslation = (8.75904009620156); HandlesVisible = true; } feature point02 GC.Point { CoordinateSystem = baseCS; XTranslation = (18.6509780176802); YTranslation = (10.0874340473802); ZTranslation = (3.58168868876899); HandlesVisible = true; } feature point03 GC.Point { CoordinateSystem = baseCS; XTranslation = (30.5115203438625); YTranslation = (10.0874340473802); ZTranslation = (0.0); HandlesVisible = true; } feature point04 GC.Point { CoordinateSystem = baseCS; XTranslation = (44.8139390313177); YTranslation = (10.2037533559813); ZTranslation = (1.41596948015155); HandlesVisible = true; } feature point05 GC.Point { CoordinateSystem = baseCS; XTranslation = (4.11599967677056); YTranslation = (0.0839735076827696); ZTranslation = (8.21106624590957); HandlesVisible = true; } feature point06 GC.Point { CoordinateSystem = baseCS; XTranslation = (19.5812166314985); YTranslation = (-0.613942343924026); ZTranslation = (-2.62480422581294); HandlesVisible = true; } feature point07 GC.Point { CoordinateSystem = baseCS; XTranslation = (30.6278001705898); YTranslation = (-0.264984418120631); ZTranslation = (-6.30900668285814); HandlesVisible = true; } feature point08 GC.Point { CoordinateSystem = baseCS; XTranslation = (44.116260070954); YTranslation = (-0.264984418120631); ZTranslation = (6.35629432502538); HandlesVisible = true; } feature point09 GC.Point { CoordinateSystem = baseCS; XTranslation = (4.11599967677056); YTranslation = (-10.2684449578181); ZTranslation = (2.80737001919611); HandlesVisible = true; } feature point10 GC.Point { CoordinateSystem = baseCS; XTranslation = (20.3951754185894); YTranslation = (-10.5010835750203); ZTranslation = (2.29759832527047); HandlesVisible = true; } feature point11 GC.Point { CoordinateSystem = baseCS; XTranslation = (31.0929194774989); YTranslation = (-10.5010835750203); ZTranslation = (-3.62113474170913); HandlesVisible = true; } feature point12 GC.Point { CoordinateSystem = baseCS; XTranslation = (44.930218858045); YTranslation = (-10.5010835750203); ZTranslation = (6.2650439573457); HandlesVisible = true; } } transaction modelBased "bridge supports points" { feature point13 GC.Point { Surface = bsplineSurface01; U = (0.966979806975492); V = (0.690472490271932); HandlesVisible = true; } feature point14 GC.Point { Surface = bsplineSurface01; U = (0.970317383264994); V = (0.486476320488889); HandlesVisible = true; } feature point15 GC.Point { Surface = bsplineSurface01; U = (0.0303658136270503); V = (0.29623021244127); HandlesVisible = true; } feature point16 GC.Point { Surface = bsplineSurface01; U = (0.0333735801422578); V = (0.14023299104762); HandlesVisible = true; } } transaction modelBased "offsetpoints" { feature point17 GC.Point { CoordinateSystem = baseCS; XTranslation = 0; YTranslation = 0; ZTranslation = point15.Z-point16.Z; Origin = point16; HandlesVisible = true; } feature point18 GC.Point { CoordinateSystem = baseCS; XTranslation = 0; YTranslation = 0; ZTranslation = point13.Z-point14.Z; Origin = point14; } } transaction modelBased "bridgesupports" { feature coordinateSystem01 GC.CoordinateSystem { Curve = line01; T = 0.5; UpVector = baseCS.ZDirection; } feature coordinateSystem02 GC.CoordinateSystem { Curve = line02; T = 0.5; UpVector = baseCS.ZDirection; } feature line01 GC.Line { StartPoint = point13; EndPoint = point18; } feature line02 GC.Line { StartPoint = point15; EndPoint = point17; } feature line03 GC.Line { StartPoint = coordinateSystem01; Direction = coordinateSystem01.YDirection; Length = line01.Length/4; } feature line04 GC.Line { StartPoint = coordinateSystem02; Direction = coordinateSystem02.YDirection; Length = line02.Length/4; } } transaction modelBased "BSplineCurve" { feature bsplineCurve01 GC.BSplineCurve { Tangents = {line03,line04,}; } } transaction modelBased "mod point position" { feature point13 GC.Point { U = (0.992025760348672); V = (0.68721344783496); } feature point14 GC.Point { U = (0.976195283013944); V = (0.62352301444197); } feature point16 GC.Point { U = (0.152307717075431); V = (0.0283951014308214); } } transaction modelBased "points on bspline and centroid" { feature point19 GC.Point { Curve = bsplineCurve01; T = Series(0,1,0.1); } feature point20 GC.Point { SetToFindCentroidFrom = point19; } } transaction modelBased "projection of centroid" { feature point21 GC.Point { Surface = bsplineSurface01; PointToProjectOnToSurface = point20; ProjectionVector = baseCS.ZDirection; } } transaction modelBased "pylon" { feature direction01 GC.Direction { Origin = point21; DirectionPoint = point20; } feature line05 GC.Line { StartPoint = point21; Direction = direction01; Length = pylon_height+Distance(point20,point21); } feature pylon_height GC.GraphVariable { Value = 10; LimitValueToRange = true; RangeMaximum = 30.0; RangeStepSize = 0.0; } } transaction modelBased "cable array" { feature line06 GC.Line { StartPoint = line05.EndPoint; EndPoint = point19; } } transaction modelBased "roadway" { feature bsplineSurface02 GC.BSplineSurface { Path = bsplineCurve01; CrossSection = line01; } } transaction modelBased "two pylons" { feature line05 GC.Line { SymbolXY = {101, 137}; } feature point19 GC.Point { T = {Series(0,0.5,0.1),Series(0.5,1,0.1)}; } } transaction modelBased "change pylon\'s height" { feature pylon_height GC.GraphVariable { Value = 10.8; } } transaction modelBased "change surface and supports" { feature point01 GC.Point { XTranslation = (-2.50154670512993); ZTranslation = (-3.24640559577005); } feature point02 GC.Point { ZTranslation = (-6.82683401541704); } feature point05 GC.Point { ZTranslation = (-3.39962268254072); } feature point10 GC.Point { ZTranslation = (-7.9479527748904); } feature point11 GC.Point { ZTranslation = (-6.01209637831955); } feature point12 GC.Point { ZTranslation = (2.93030691523659); } feature point16 GC.Point { U = (0.0313676014888306); } }