// Bentley GenerativeComponents Transaction File -- File structure version 1.06. (Please do not delete or change this line.) environment { GCVersion = '08.11.07.66'; MSVersion = '08.11.07.171'; MSProject = 'GC_Default'; MSDesignFile = 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Bentley\MicroStation\8.11\cTbYhr4qpSUle30jHsdyNg\GC\workdgn\$gcworkdgn.tmp'; } transaction modelBased 'Some Points' { feature User.Objects.point01 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (-26.3650556776066); YTranslation = (25.3611399710753); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point02 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (-3.31795107230648); YTranslation = (24.7909057295036); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point03 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (23.8010801417039); YTranslation = (25.1167538675445); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point04 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (23.6382030773555); YTranslation = (-0.0550147961216222); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point05 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (24.4525883990976); YTranslation = (-22.6199983554599); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point06 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (-0.304725381860882); YTranslation = (-23.1087705625214); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point07 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (-27.1794409993487); YTranslation = (-23.0273085280111); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point08 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (-26.7722483384777); YTranslation = (0.189371307409118); ZTranslation = (0.0); HandlesVisible = true; } feature User.Objects.point09 Bentley.GC.Point { CoordinateSystem = baseCS; XTranslation = (-0.0604097853382642); YTranslation = (4.50685913645218); ZTranslation = (0.0); HandlesVisible = true; } } transaction modelBased 'Some Curves' { feature User.Objects.bsplineCurve01 Bentley.GC.BSplineCurve { Poles = {point01,point02,point03}; Order = 3; } feature User.Objects.bsplineCurve02 Bentley.GC.BSplineCurve { Poles = {point08,point09,point04}; Order = 3; } feature User.Objects.bsplineCurve03 Bentley.GC.BSplineCurve { Poles = {point07,point06,point05}; Order = 3; } } transaction modelBased 'Some Surface' { feature User.Objects.bsplineSurface01 Bentley.GC.BSplineSurface { Curves = {bsplineCurve01,bsplineCurve02,bsplineCurve03}; Order = 4; } feature User.Objects.point02 Bentley.GC.Point { ZTranslation = (-23.5204949828528); } feature User.Objects.point04 Bentley.GC.Point { ZTranslation = (-14.3500492855672); } feature User.Objects.point06 Bentley.GC.Point { ZTranslation = (30.4832407900511); } feature User.Objects.point08 Bentley.GC.Point { ZTranslation = (22.8412027089798); } } transaction modelBased 'UV for rapid testing' { feature User.Objects.point10 Bentley.GC.Point { Surface = bsplineSurface01; U = Series(0,1,0.1); V = Series(0,1,0.1); HandlesVisible = true; Replication = ReplicationOption.AllCombinations; } } transaction modelBased 'Hide Some Stuff' { feature User.Objects.bsplineCurve01 Bentley.GC.BSplineCurve { Visible = false; } feature User.Objects.bsplineCurve02 Bentley.GC.BSplineCurve { Visible = false; } feature User.Objects.bsplineCurve03 Bentley.GC.BSplineCurve { Visible = false; } feature User.Objects.bsplineSurface01 Bentley.GC.BSplineSurface { Visible = false; } } transaction modelBased 'Some Poly from UVs' { feature User.Objects.polygon01 Bentley.GC.Polygon { Points = point10; Visible = true; } } transaction modelBased 'Change bsplineCurve01, bsplineCurve02, bsplineCurve03, bsplineSurface01' { feature User.Objects.bsplineCurve01 Bentley.GC.BSplineCurve { Visible = true; } feature User.Objects.bsplineCurve02 Bentley.GC.BSplineCurve { Visible = true; } feature User.Objects.bsplineCurve03 Bentley.GC.BSplineCurve { Visible = true; } feature User.Objects.bsplineSurface01 Bentley.GC.BSplineSurface { Visible = true; } } transaction modelBased 'Adjust Poly colr Property for Visuals' { feature User.Objects.polygon01 Bentley.GC.Polygon { Color = polygon01.OutOfPlane<0.05?3:0; } } transaction modelBased 'Change point02, point03, point04, point05, point07, point09' { feature User.Objects.point02 Bentley.GC.Point { ZTranslation = (-8.00002814221154); } feature User.Objects.point03 Bentley.GC.Point { ZTranslation = (-28.6291857349305); } feature User.Objects.point04 Bentley.GC.Point { ZTranslation = (-24.4203321067194); } feature User.Objects.point05 Bentley.GC.Point { ZTranslation = (-13.0438738702865); } feature User.Objects.point07 Bentley.GC.Point { ZTranslation = (25.6871837954864); } feature User.Objects.point09 Bentley.GC.Point { ZTranslation = (17.478306965448); } } transaction modelBased 'Sel Shape graphFunction' { feature User.Objects.selectedPolygons Bentley.GC.Polygon { Function = function (Polygon allPoly) { Polygon outOfPlane = {}; for (int i = 0; i < allPoly.Count; ++i) { for (int j = 0; j < allPoly[i].Count; ++j) { if (allPoly[i][j].OutOfPlane < 0.05) { //outOfPlane[outOfPlane.Count+1] = allPoly[i][j]; outOfPlane[outOfPlane.Count+1] = new Polygon().ByVertices(allPoly[i][j].Vertices); } } } return outOfPlane; }; FunctionArguments = {polygon01}; } } transaction modelBased 'Hide Out of Tolerance Polys' { feature User.Objects.polygon01 Bentley.GC.Polygon { Visible = false; } feature User.Objects.selectedPolygons Bentley.GC.Polygon { Function = function (Polygon allPoly) { Polygon outOfPlane = {}; for (int i = 0; i < allPoly.Count; ++i) { for (int j = 0; j < allPoly[i].Count; ++j) { if (allPoly[i][j].OutOfPlane < 0.05) { //outOfPlane[outOfPlane.Count+1] = allPoly[i][j]; outOfPlane[outOfPlane.Count+1] = new Polygon().ByVertices(allPoly[i][j].Vertices); } } } return outOfPlane; }; SymbolicModelDisplay = null; Color = 3; RoleInExampleGraph = null; } } transaction modelBased 'Hide Original Some Poly' { feature User.Objects.polygon01 Bentley.GC.Polygon { Visible = false; } } transaction modelBased 'Adjust Some Points' { feature User.Objects.point01 Bentley.GC.Point { ZTranslation = (20.3188221773417); } feature User.Objects.point02 Bentley.GC.Point { ZTranslation = (9.79191047337049); } feature User.Objects.point03 Bentley.GC.Point { ZTranslation = (-12.3066928685943); } feature User.Objects.point07 Bentley.GC.Point { ZTranslation = (42.4415501180886); } }