Skip to content

Commit

Permalink
Update DynamoSamples files (#9879) (#9880)
Browse files Browse the repository at this point in the history
* Update DynamoSamples files

* Update workspace names
  • Loading branch information
QilongTang authored Aug 5, 2019
1 parent ddbf7e3 commit 07d3852
Show file tree
Hide file tree
Showing 8 changed files with 6,129 additions and 535 deletions.
127 changes: 8 additions & 119 deletions doc/distrib/Samples/en-US/Basics/Basics_Basic02.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
},
{
"ConcreteType": "Watch3DNodeModels.Watch3D, Watch3DNodeModels",
"WatchWidth": 220.0,
"WatchHeight": 352.0,
"WasExecuted": true,
"WatchWidth": 200.0,
"WatchHeight": 200.0,
"WasExecuted": false,
"Camera": {
"Name": "751b37a0-8c55-46b3-90a9-f6b644af185b Preview",
"Name": "Background Preview",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
Expand Down Expand Up @@ -281,66 +281,6 @@
],
"Replication": "Auto",
"Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.ModelCurve.ByCurve@Autodesk.DesignScript.Geometry.Curve",
"Id": "859b30aef9f042268e0896b5066e31c7",
"Inputs": [
{
"Id": "dd28d907f0234c2db53439cbb991420a",
"Name": "curve",
"Description": "Curve",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "61186977c639405eaaa6e16d18dc20e1",
"Name": "ModelCurve",
"Description": "ModelCurve",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Construct a Revit ModelCurve element from a Curve\n\nModelCurve.ByCurve (curve: Curve): ModelCurve"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.ReferencePoint.ByPoint@Autodesk.DesignScript.Geometry.Point",
"Id": "66c0540b9aa84a589a8eacd89b7a8c37",
"Inputs": [
{
"Id": "ce6eaf70fa194d02b72a2cae6ffa10ed",
"Name": "pt",
"Description": "Point",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "78abc094085e4297ba90b923fe0bbbe4",
"Name": "ReferencePoint",
"Description": "ReferencePoint",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Create a Reference Point from a point.\n\nReferencePoint.ByPoint (pt: Point): ReferencePoint"
}
],
"Connectors": [
Expand All @@ -354,11 +294,6 @@
"End": "ca7dcb578ad642088e0b5b4c383f9d46",
"Id": "6f755328683b44538dd95f958a0d5a86"
},
{
"Start": "c28c4e4b0ff14ea6875ab92a2c5a7430",
"End": "ce6eaf70fa194d02b72a2cae6ffa10ed",
"Id": "a6247a4015004066849107f5ace5c405"
},
{
"Start": "89353ce28afb42858938fa6b02ec8c3b",
"End": "2838b00ffa0e463bbe0eacaf548f6687",
Expand All @@ -378,22 +313,10 @@
"Start": "e7dd2b37cda04f239b3dcd22561316e1",
"End": "0562171b3ea441739fd8bcbb8b1ce264",
"Id": "23392ea01c76432cbdd5cdc0b448f786"
},
{
"Start": "e7dd2b37cda04f239b3dcd22561316e1",
"End": "dd28d907f0234c2db53439cbb991420a",
"Id": "809d16a764424efc8fd52406a81cfc4a"
}
],
"Dependencies": [],
"Bindings": [
{
"NodeId": "859b30ae-f9f0-4226-8e08-96b5066e31c7",
"Binding": {
"ByCurve_InClassDecl-1_InFunctionScope-1_Instance0_859b30ae-f9f0-4226-8e08-96b5066e31c7": "PFNPQVAtRU5WOkVudmVsb3BlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiI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zhMMU5QUVZBdFJVNVdPa1Z1ZG1Wc2IzQmxQZzBLPC9CYXNlLTBfRGF0YT4NCjxCYXNlLTBfSGFzTmVzdGVkRGF0YT5mYWxzZTwvQmFzZS0wX0hhc05lc3RlZERhdGE+DQo8L2ExOkNhbGxTaXRlX3gwMDJCX1RyYWNlU2VyaWFsaXNlckhlbHBlcj4NCjwvU09BUC1FTlY6Qm9keT4NCjwvU09BUC1FTlY6RW52ZWxvcGU+DQo="
}
}
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
Expand Down Expand Up @@ -485,26 +408,6 @@
"Excluded": false,
"X": 3411.44471222941,
"Y": 903.145381445443
},
{
"ShowGeometry": true,
"Name": "ModelCurve.ByCurve",
"Id": "859b30aef9f042268e0896b5066e31c7",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3971.57078997439,
"Y": 931.159124762755
},
{
"ShowGeometry": true,
"Name": "ReferencePoint.ByPoint",
"Id": "66c0540b9aa84a589a8eacd89b7a8c37",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3971.57078997439,
"Y": 838.913025453543
}
],
"Annotations": [
Expand Down Expand Up @@ -535,24 +438,10 @@
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
},
{
"Id": "201c6ba8057b456e94ed7a3c5211403e",
"Title": "Dynamo interacts with Revit with special Revit nodes. \r\n\r\nDynamo can only create and modify elements that are appropriate to the file that Dynamo is associated with. For instance, Reference Points can only be made in certain Family environments, while Model Lines can be created almost anywhere.",
"Nodes": [],
"Left": 4227.2898831632529,
"Top": 842.0087651548198,
"Width": 0.0,
"Height": 0.0,
"FontSize": 36.0,
"InitialTop": 0.0,
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
}
],
"X": -1767.7522389667902,
"Y": -432.417247054431,
"Zoom": 0.771050629974184
"X": -1034.2538154774497,
"Y": -65.679722178152531,
"Zoom": 0.37616253525079063
}
}
74 changes: 4 additions & 70 deletions doc/distrib/Samples/en-US/Geometry/Geometry_Curves.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -585,36 +585,6 @@
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.ModelCurve.ByCurve@Autodesk.DesignScript.Geometry.Curve",
"Id": "f4ef10a11aed49d5847439cdbdf5fea6",
"Inputs": [
{
"Id": "1bdd3a63c00f4233a6d2499ee275950c",
"Name": "curve",
"Description": "Curve",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "30b0aa4fee394e21a04f6e2ff7351ad8",
"Name": "ModelCurve",
"Description": "ModelCurve",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Construct a Revit ModelCurve element from a Curve\n\nModelCurve.ByCurve (curve: Curve): ModelCurve"
}
],
"Connectors": [
Expand Down Expand Up @@ -688,11 +658,6 @@
"End": "81c2397aa6ea4052b24fa213262493a5",
"Id": "6e28016e1b0c46948c5477a83c94228c"
},
{
"Start": "72d79541a1fb4ee49ac85053f914fe10",
"End": "1bdd3a63c00f4233a6d2499ee275950c",
"Id": "d998dfab4d0a4250a7e2bc46acf348a7"
},
{
"Start": "ca9bee947bd14dd892b213bec464fd0d",
"End": "136d1188d65f450689f307ac78c13b9c",
Expand All @@ -710,14 +675,7 @@
}
],
"Dependencies": [],
"Bindings": [
{
"NodeId": "f4ef10a1-1aed-49d5-8474-39cdbdf5fea6",
"Binding": {
"ByCurve_InClassDecl-1_InFunctionScope-1_Instance0_f4ef10a1-1aed-49d5-8474-39cdbdf5fea6": "PFNPQVAtRU5WOkVudmVsb3BlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YT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VZBdFJVNVdPa0p2WkhrK0RRbzhMMU5QUVZBdFJVNVdPa1Z1ZG1Wc2IzQmxQZzBLPC9CYXNlLTBfRGF0YT4NCjxCYXNlLTBfSGFzTmVzdGVkRGF0YT5mYWxzZTwvQmFzZS0wX0hhc05lc3RlZERhdGE+DQo8L2ExOkNhbGxTaXRlX3gwMDJCX1RyYWNlU2VyaWFsaXNlckhlbHBlcj4NCjwvU09BUC1FTlY6Qm9keT4NCjwvU09BUC1FTlY6RW52ZWxvcGU+DQo="
}
}
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
Expand Down Expand Up @@ -899,16 +857,6 @@
"Excluded": false,
"X": -23325.7070393249,
"Y": -19700.2562560531
},
{
"ShowGeometry": true,
"Name": "ModelCurve.ByCurve",
"Id": "f4ef10a11aed49d5847439cdbdf5fea6",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -23201.683049685194,
"Y": -19540.606011735919
}
],
"Annotations": [
Expand Down Expand Up @@ -939,24 +887,10 @@
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
},
{
"Id": "6d21a2a5a44848f2a110aec8699a34ff",
"Title": "Pass any curve element to Revit Elements that are driven by Lines or other Curves to create them",
"Nodes": [],
"Left": -23230.477265241,
"Top": -19597.6691441897,
"Width": 0.0,
"Height": 0.0,
"FontSize": 36.0,
"InitialTop": 0.0,
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
}
],
"X": 19979.675306766563,
"Y": 16131.933270875808,
"Zoom": 0.79455282713477926
"X": 9534.3388320651775,
"Y": 7929.5614209150963,
"Zoom": 0.38621092452896444
}
}
Loading

0 comments on commit 07d3852

Please sign in to comment.