// Bentley GenerativeComponents Transaction File -- File structure version 1.06. (Please do not delete or change this line.) environment { GCVersion = '08.11.07.50'; MSVersion = '08.11.07.74'; MSProject = 'GC_Default'; MSDesignFile = 'C:\Users\dbelcher\AppData\Local\Bentley\MicroStation\8.11\U47sRRUbV90ewaQLjTeirg\GC\workdgn\$gcworkdgn.tmp'; } transaction modelBased 'Declare Parameters' { feature User.Objects.RampRise Bentley.GC.GraphVariable { Value = 8.05; } feature User.Objects.RampRun Bentley.GC.GraphVariable { Value = 40.25; } feature User.Objects.RampPercentSlopeInside Bentley.GC.GraphVariable { Value = 0.20; } feature User.Objects.RampPercentSlopeOutside Bentley.GC.GraphVariable { Value = 0.20; } feature User.Objects.RampWidth Bentley.GC.GraphVariable { Value = 12.0; } feature User.Objects.RampThickness Bentley.GC.GraphVariable { Value = 0.8333333; } feature User.Objects.BorderWallHeight Bentley.GC.GraphVariable { Value = 2.0; } feature User.Objects.BorderWallWidth Bentley.GC.GraphVariable { Value = 1.0; } feature User.Objects.CurbHeight Bentley.GC.GraphVariable { Value = 0.5; } feature User.Objects.CurbWidth Bentley.GC.GraphVariable { Value = 0.75; } feature User.Objects.ExportFilePath Bentley.GC.GraphVariable { Value = "C:\\temp\\SpeedRamp-StraightOutput.dgn"; } feature User.Objects.ExportSeedPath Bentley.GC.GraphVariable { Value = "C:\\Path To Your Project\\Seed\\3Dmodel_seed.dgn"; } } transaction modelBased 'Create Ramp Slab' { feature User.Objects.point01 Bentley.GC.Point { CoordinateSystem = baseCS; HandlesVisible = true; XTranslation = -10; YTranslation = -10; ZTranslation = (0.0); } feature User.Objects.line01 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = RampWidth; StartPoint = point01; } feature User.Objects.line02 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.YDirection; IsConstruction = true; Length = -RampRun; StartPoint = point01; } feature User.Objects.point02 Bentley.GC.Point { CoordinateSystem = baseCS; HandlesVisible = true; XTranslation = point01.X; YTranslation = point01.Y; ZTranslation = point01.Z - RampThickness; } feature User.Objects.line03 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = -(RampRise); StartPoint = line02.EndPoint; } feature User.Objects.line04 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = RampWidth; StartPoint = line03.EndPoint; } feature User.Objects.line07 Bentley.GC.Line { EndPoint = line03.EndPoint; StartPoint = point01; } feature User.Objects.line05 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.YDirection; IsConstruction = true; Length = RampRun; StartPoint = line04.EndPoint; } feature User.Objects.line06 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = RampRun*RampPercentSlopeOutside; StartPoint = line05.EndPoint; } feature User.Objects.line08 Bentley.GC.Line { EndPoint = line04.EndPoint; StartPoint = line06.EndPoint; } feature User.Objects.bsplineSurface01 Bentley.GC.BSplineSurface { Curves = {line07,line08,}; UCurveDisplay = 1; VCurveDisplay = 1; } feature User.Objects.line09 Bentley.GC.Line { CopyFrom = point01; CopyTo = point02; FeatureToCopy = bsplineSurface01; } feature User.Objects.bsplineSurface02 Bentley.GC.BSplineSurface { CopyFrom = point01; CopyTo = point02; FeatureToCopy = bsplineSurface01; } feature User.Objects.solid01 Bentley.GC.Solid { Surface0 = bsplineSurface01; Surface1 = bsplineSurface02; } } transaction modelBased 'Create Inside Border Wall' { feature User.Objects.line10 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = -(BorderWallWidth); StartPoint = line03.EndPoint; } feature User.Objects.line11 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = -(BorderWallWidth); StartPoint = point01; } feature User.Objects.line13 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = -(RampThickness); StartPoint = line10.EndPoint; } feature User.Objects.line14 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = BorderWallHeight; StartPoint = line10.EndPoint; } feature User.Objects.line12 Bentley.GC.Line { EndPoint = line10.EndPoint; StartPoint = line11.EndPoint; } feature User.Objects.bsplineSurface03 Bentley.GC.BSplineSurface { Curves = {line07,line12,}; Visible = true; } feature User.Objects.bsplineSurface04 Bentley.GC.BSplineSurface { CopyFrom = line10.EndPoint; CopyTo = line14.EndPoint; FeatureToCopy = bsplineSurface03; } feature User.Objects.bsplineSurface05 Bentley.GC.BSplineSurface { CopyFrom = line10.EndPoint; CopyTo = line13.EndPoint; FeatureToCopy = bsplineSurface03; SymbolXY = {-1.0, -1.0}; } feature User.Objects.solid02 Bentley.GC.Solid { Surface0 = bsplineSurface05; Surface1 = bsplineSurface04; } } transaction modelBased 'Create Outside Border Wall' { feature User.Objects.line16 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = BorderWallWidth; StartPoint = line06.EndPoint; } feature User.Objects.line15 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = BorderWallWidth; StartPoint = line04.EndPoint; } feature User.Objects.bsplineSurface03 Bentley.GC.BSplineSurface { Visible = false; } feature User.Objects.line17 Bentley.GC.Line { CopyFrom = line04.EndPoint; CopyTo = line15.EndPoint; FeatureToCopy = line08; } feature User.Objects.line18 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = -(RampThickness); StartPoint = line15.EndPoint; } feature User.Objects.line19 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = BorderWallHeight; StartPoint = line15.EndPoint; } feature User.Objects.bsplineSurface05 Bentley.GC.BSplineSurface { SymbolXY = {-1, -1}; } feature User.Objects.bsplineSurface06 Bentley.GC.BSplineSurface { Curves = {line08,line17}; Visible = false; } feature User.Objects.bsplineSurface07 Bentley.GC.BSplineSurface { CopyFrom = line15.EndPoint; CopyTo = line18.EndPoint; FeatureToCopy = bsplineSurface06; } feature User.Objects.bsplineSurface08 Bentley.GC.BSplineSurface { CopyFrom = line15.EndPoint; CopyTo = line19.EndPoint; FeatureToCopy = bsplineSurface06; SymbolXY = {-1, -1}; } feature User.Objects.solid03 Bentley.GC.Solid { Surface0 = bsplineSurface07; Surface1 = bsplineSurface08; } } transaction modelBased 'Create Inside Curb' { feature User.Objects.line23 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = CurbHeight; StartPoint = line03.EndPoint; } feature User.Objects.line21 Bentley.GC.Line { ConstructionsVisible = true; Direction = line06.EndPoint; IsConstruction = true; Length = CurbWidth; StartPoint = point01; } feature User.Objects.line07 Bentley.GC.Line { Visible = false; } feature User.Objects.line24 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = CurbHeight; StartPoint = point01; } feature User.Objects.line20 Bentley.GC.Line { ConstructionsVisible = true; Direction = line04.EndPoint; IsConstruction = true; Length = CurbWidth; StartPoint = line03.EndPoint; } feature User.Objects.line25 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = CurbWidth; StartPoint = point01; } feature User.Objects.line22 Bentley.GC.Line { EndPoint = line20.EndPoint; StartPoint = line21.EndPoint; Visible = false; } feature User.Objects.line26 Bentley.GC.Line { EndPoint = line20.EndPoint; StartPoint = line25.EndPoint; Visible = false; } feature User.Objects.bsplineSurface09 Bentley.GC.BSplineSurface { Curves = {line07, line22,}; } feature User.Objects.bsplineSurface11 Bentley.GC.BSplineSurface { Curves = {line07,line26,}; SymbolXY = {-1, -1}; } feature User.Objects.bsplineSurface10 Bentley.GC.BSplineSurface { CopyFrom = line03.EndPoint; CopyTo = line23.EndPoint; FeatureToCopy = bsplineSurface09; } feature User.Objects.bsplineSurface12 Bentley.GC.BSplineSurface { CopyFrom = line03.EndPoint; CopyTo = line23.EndPoint; FeatureToCopy = bsplineSurface11; } feature User.Objects.solid04 Bentley.GC.Solid { Surface0 = bsplineSurface10; Surface1 = bsplineSurface09; } feature User.Objects.solid05 Bentley.GC.Solid { Surface0 = bsplineSurface12; Surface1 = bsplineSurface11; } feature User.Objects.solid06 Bentley.GC.Solid { Operation = BooleanOperation.Intersection; Solid0 = solid04; Solid1 = solid05; } } transaction modelBased 'Create Outside Curb' { feature User.Objects.line31 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = CurbHeight; StartPoint = line06.EndPoint; } feature User.Objects.line30 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = CurbHeight; StartPoint = line04.EndPoint; } feature User.Objects.line27 Bentley.GC.Line { ConstructionsVisible = true; Direction = line03.EndPoint; IsConstruction = true; Length = CurbWidth; StartPoint = line04.EndPoint; } feature User.Objects.line28 Bentley.GC.Line { ConstructionsVisible = true; Direction = point01; IsConstruction = true; Length = CurbWidth; StartPoint = line06.EndPoint; } feature User.Objects.line29 Bentley.GC.Line { EndPoint = line27.EndPoint; StartPoint = line28.EndPoint; } feature User.Objects.line32 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.XDirection; IsConstruction = true; Length = CurbWidth; StartPoint = line28.EndPoint; } feature User.Objects.bsplineSurface13 Bentley.GC.BSplineSurface { Curves = {line29,line08,}; } feature User.Objects.line34 Bentley.GC.Line { ConstructionsVisible = true; Direction = baseCS.ZDirection; IsConstruction = true; Length = CurbHeight; StartPoint = line32.EndPoint; } feature User.Objects.line33 Bentley.GC.Line { EndPoint = line04.EndPoint; StartPoint = line32.EndPoint; } feature User.Objects.bsplineSurface14 Bentley.GC.BSplineSurface { CopyFrom = line04.EndPoint; CopyTo = line30.EndPoint; FeatureToCopy = bsplineSurface13; } feature User.Objects.bsplineSurface15 Bentley.GC.BSplineSurface { Curves = {line33,line29,}; } feature User.Objects.solid07 Bentley.GC.Solid { Surface0 = bsplineSurface14; Surface1 = bsplineSurface13; } feature User.Objects.bsplineSurface16 Bentley.GC.BSplineSurface { CopyFrom = line32.EndPoint; CopyTo = line34.EndPoint; FeatureToCopy = bsplineSurface15; } feature User.Objects.solid08 Bentley.GC.Solid { Surface0 = bsplineSurface16; Surface1 = bsplineSurface15; } feature User.Objects.solid09 Bentley.GC.Solid { Operation = BooleanOperation.Intersection; Solid0 = solid07; Solid1 = solid08; } } transaction modelBased 'Hide Constructions' { feature User.Objects.line01 Bentley.GC.Line { Visible = false; } feature User.Objects.line02 Bentley.GC.Line { Visible = false; } feature User.Objects.line03 Bentley.GC.Line { Visible = false; } feature User.Objects.line04 Bentley.GC.Line { Visible = false; } feature User.Objects.line05 Bentley.GC.Line { Visible = false; } feature User.Objects.line06 Bentley.GC.Line { Visible = false; } feature User.Objects.line08 Bentley.GC.Line { Visible = false; } feature User.Objects.line10 Bentley.GC.Line { Visible = false; } feature User.Objects.line11 Bentley.GC.Line { Visible = false; } feature User.Objects.line12 Bentley.GC.Line { Visible = false; } feature User.Objects.line13 Bentley.GC.Line { Visible = false; } feature User.Objects.line14 Bentley.GC.Line { Visible = false; } feature User.Objects.line15 Bentley.GC.Line { Visible = false; } feature User.Objects.line16 Bentley.GC.Line { Visible = false; } feature User.Objects.line17 Bentley.GC.Line { Visible = false; } feature User.Objects.line18 Bentley.GC.Line { Visible = false; } feature User.Objects.line19 Bentley.GC.Line { Visible = false; } feature User.Objects.line20 Bentley.GC.Line { Visible = false; } feature User.Objects.line21 Bentley.GC.Line { Visible = false; } feature User.Objects.line23 Bentley.GC.Line { Visible = false; } feature User.Objects.line24 Bentley.GC.Line { Visible = false; } feature User.Objects.line25 Bentley.GC.Line { Visible = false; } feature User.Objects.line27 Bentley.GC.Line { Visible = false; } feature User.Objects.line28 Bentley.GC.Line { Visible = false; } feature User.Objects.line29 Bentley.GC.Line { Visible = false; } feature User.Objects.line30 Bentley.GC.Line { Visible = false; } feature User.Objects.line31 Bentley.GC.Line { Visible = false; } feature User.Objects.line32 Bentley.GC.Line { Visible = false; } feature User.Objects.line33 Bentley.GC.Line { Visible = false; } feature User.Objects.line34 Bentley.GC.Line { Visible = false; } feature User.Objects.point01 Bentley.GC.Point { Visible = false; } feature User.Objects.point02 Bentley.GC.Point { Visible = false; } feature User.Objects.solid05 Bentley.GC.Solid { SymbolXY = {-1, -1}; } feature User.Objects.solid08 Bentley.GC.Solid { SymbolXY = {-1, -1}; } } transaction modelBased 'Export the finished product to a DGN file' { feature User.Objects.export01 Bentley.GC.Export { FeaturesToExport = {solid02, solid06, solid01, solid09, solid03}; ExportDesignFile = ExportFilePath; ExportSeedFile = ExportSeedPath; } }