RHINO.INSIDE.REVIT RhinoCode Platform - DO NOT MERGE #1199
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Starting this PR as a thread to review and improve this first draft of RHINO.INSIDE.REVIT platform for Rhino3d scripting.
Todo
Rhino.Runtime.Code.RhinoCode.Platforms.TryRegister(Scripting.RhinoInsideRevitPlatform.Instance);
sooner when Rhino is started. Currently this call is made inAssemblyPriority
of the GH plugin. So platform is not ready if ScriptEditor is launched without Grasshopper being loaded (I assume this is a rare case :D)Platform Assemblies
Adds
RevitAPI
,RevitAPIUI
andAdWindows
to all scripting languages. Opening the file below should not throw any errors.test_rir_compile.zip
Platform assemblies are also automatically added to autocompletion:
Platform Value Converters
Adds one single ElementId converter under Revit. Opening the file below should not throw any errors:
test_rir_converters_element.zip
Platform Help Libraries
Adds
RevitAPI
andRevitAPIUI
to editor help libraries: