Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

basic implementation of Speckle for Revit #18

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .idea/SpeckleRevit.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 120 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions SpeckleRevit.sln.DotSettings.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue">&lt;AssemblyExplorer&gt;&#xD;
&lt;Assembly Path="C:\Users\konrad.sobon\.nuget\packages\cefsharp.wpf\63.0.2\CefSharp\x64\CefSharp.Wpf.dll" /&gt;&#xD;
&lt;Assembly Path="C:\Users\konrad.sobon\.nuget\packages\newtonsoft.json\11.0.1\lib\net45\Newtonsoft.Json.dll" /&gt;&#xD;
&lt;Assembly Path="C:\Windows\Microsoft.NET\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll" /&gt;&#xD;
&lt;/AssemblyExplorer&gt;</s:String></wpf:ResourceDictionary>
7 changes: 7 additions & 0 deletions SpeckleRevitConverter/SpeckleRevitConverter.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Autodesk\Revit 2018\Revit.exe</StartProgram>
</PropertyGroup>
</Project>
26 changes: 26 additions & 0 deletions SpeckleRevitPlugin/Classes/ISpeckleRevitClient.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System;
using System.Runtime.Serialization;
using SpeckleCore;

namespace SpeckleRevitPlugin.Classes
{
/// <summary>
/// Generalises some methods for both senders and receivers.
/// </summary>
public interface ISpeckleRevitClient : IDisposable, ISerializable
{
ClientRole GetRole();

string GetClientId();

void TogglePaused(bool status);

void ToggleVisibility(bool status);

void ToggleLayerVisibility(string layerId, bool status);

void ToggleLayerHover(string layerId, bool status);

void Dispose(bool delete = false);
}
}
Loading