Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.0.0 #2

Merged
merged 4 commits into from
Jan 22, 2025
Merged
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
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.0.0-beta.5</Version>
<Version>1.0.0</Version>
</PropertyGroup>
</Project>
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The main feature of this library is to fix some issues and limitations from the

## DesignApplication

The `DesignApplication` is a base class with some abstractions to help you to execute Design Automation for Revit.
The `DesignApplication` is a base class with the `IExternalDBApplication` interface and some abstractions to help you to execute Design Automation for Revit.

```C#
public class App : DesignApplication
Expand Down Expand Up @@ -83,11 +83,11 @@ public override void OnStartup()

#### UseConsoleLog

The `UseConsoleLog` is `false` by default to disable/enable the console log for the internal `DesignApplication` methods.
The `UseConsoleLog` is `true` by default to disable/enable the console log for the internal `DesignApplication` methods.
```C#
public class App : DesignApplication<DesignAutomation>
{
public override bool UseConsoleLog => true; // false by default
public override bool UseConsoleLog => false; // true by default
}
```

Expand Down Expand Up @@ -115,7 +115,7 @@ public class App : DesignApplication<DesignAutomation>

The `ricaun.Revit.DA.Tests` test project requires some environment variables with the APS configuration to enable running Design Automation for Revit and test the `ricaun.Revit.DA.Example`.

The project use the package [Autodesk.Forge.Oss.DesignAutomation](https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation) with the `APS_CLIENT_ID` and `APS_CLIENT_SECRET`.
The project use the package [Autodesk.Forge.Oss.DesignAutomation](https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation) with the environment variables `APS_CLIENT_ID` and `APS_CLIENT_SECRET`.

```
APS_CLIENT_ID=<your client id>
Expand Down
4 changes: 2 additions & 2 deletions ricaun.Revit.DA/DesignApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public abstract class DesignApplication : IExternalDBApplication, IDesignAutomat
/// <summary>
/// Gets a value indicating whether to use console logging for the internal <see cref="DesignApplication"/> methods.
/// </summary>
/// <remarks>The default value is 'false'.</remarks>
public virtual bool UseConsoleLog => false;
/// <remarks>The default value is 'true'.</remarks>
public virtual bool UseConsoleLog => true;
/// <summary>
/// Gets the controlled application.
/// </summary>
Expand Down